| 123456789101112131415161718192021 |
- #include "Entity.h"
- #define Entity WalrusRPG::Entity
- Entity::Entity() {
- // TODO
- }
- Entity::~Entity() {
- // TODO if you allocate dynamically members
- }
- void Entity::update(float dt) {
- // TODO update map's data according to elasped time
- /*
-
- // Need to think aagain on how to go to a target point and/or we need to align the corner OR the center to this point.
- position += velocity * dt;
- velocity += acceleration * dt;
- */
- }
|