diff options
Diffstat (limited to 'src/components.h')
| -rw-r--r-- | src/components.h | 2 |
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/components.h b/src/components.h index 2ec19ff..e0c4a24 100644 --- a/src/components.h +++ b/src/components.h | |||
| @@ -12,10 +12,12 @@ class Map; | |||
| 12 | class UserMovementComponent : public Component { | 12 | class UserMovementComponent : public Component { |
| 13 | public: | 13 | public: |
| 14 | void input(Game& game, Entity& entity, int key, int action); | 14 | void input(Game& game, Entity& entity, int key, int action); |
| 15 | void receive(Game&, Entity&, const Message& msg); | ||
| 15 | 16 | ||
| 16 | private: | 17 | private: |
| 17 | bool holdingLeft = false; | 18 | bool holdingLeft = false; |
| 18 | bool holdingRight = false; | 19 | bool holdingRight = false; |
| 20 | bool frozen = false; | ||
| 19 | }; | 21 | }; |
| 20 | 22 | ||
| 21 | class PhysicsBodyComponent : public Component { | 23 | class PhysicsBodyComponent : public Component { |
