]> git.localhorst.tv Git - blank.git/blob - src/world/EntityController.hpp
centralize entity controllers
[blank.git] / src / world / EntityController.hpp
1 #ifndef BLANK_WORLD_ENTITYCONTROLLER_HPP_
2 #define BLANK_WORLD_ENTITYCONTROLLER_HPP_
3
4 #include <glm/glm.hpp>
5
6
7 namespace blank {
8
9 class Entity;
10 class EntityState;
11
12 struct EntityController {
13
14         virtual ~EntityController();
15
16         virtual void Update(Entity &, float dt) = 0;
17
18         virtual glm::vec3 ControlForce(const EntityState &) const = 0;
19
20 };
21
22 }
23
24 #endif