#include "pondering.h" #include "game.h" #include "components/ponderable.h" #include "components/transformable.h" void PonderingSystem::tick(double dt) { auto entities = game.getEntityManager().getEntitiesWithComponents(); for (auto entity : entities) { auto& transformable = game.getEntityManager().getComponent(entity); auto& ponderable = game.getEntityManager().getComponent(entity); // Accelerate ponderable.setVelocityX(ponderable.getVelocityX() + ponderable.getAccelX() * dt); ponderable.setVelocityY(ponderable.getVelocityY() + ponderable.getAccelY() * dt); // Move transformable.setX(transformable.getX() + ponderable.getVelocityX() * dt); transformable.setY(transformable.getY() + ponderable.getVelocityY() * dt); } } e9ffa215ceb877ca55d667b4ee919b07e'>this commit Randomizer for LINGO 2 using Archipelago Multiworld
about summary refs log tree commit diff stats
blob: 2edc580cdd0bde18030b495bd9cea4bf6472035a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "default-registry": {
    "kind": "git",
    "baseline": "70a7abe262134f51393f02966e80789a2305ce6f",
    "repository": "https://github.com/microsoft/vcpkg"
  },
  "registries": [
    {
      "kind": "artifact",
      "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
      "name": "microsoft"
    }
  ]
}