diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-11 11:38:49 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-11 11:38:49 -0400 |
commit | 879c2c04d9c3879f871cfe79f9b25fd23c5184b4 (patch) | |
tree | 70bf8773b18478af58ecd0877b6bb62a7279c094 /src/components/user_movement.h | |
parent | 11f4af82626b0e35c35606b327e4181c7c88f228 (diff) | |
download | therapy-879c2c04d9c3879f871cfe79f9b25fd23c5184b4.tar.gz therapy-879c2c04d9c3879f871cfe79f9b25fd23c5184b4.tar.bz2 therapy-879c2c04d9c3879f871cfe79f9b25fd23c5184b4.zip |
Wrote EntityManager
Diffstat (limited to 'src/components/user_movement.h')
-rw-r--r-- | src/components/user_movement.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/components/user_movement.h b/src/components/user_movement.h deleted file mode 100644 index 1bcf05e..0000000 --- a/src/components/user_movement.h +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | #ifndef USER_MOVEMENT_H | ||
2 | #define USER_MOVEMENT_H | ||
3 | |||
4 | #include "entity.h" | ||
5 | |||
6 | class Game; | ||
7 | |||
8 | class UserMovementComponent : public Component { | ||
9 | public: | ||
10 | void input(Game& game, Entity& entity, int key, int action); | ||
11 | void receive(Game&, Entity&, const Message& msg); | ||
12 | |||
13 | private: | ||
14 | bool holdingLeft = false; | ||
15 | bool holdingRight = false; | ||
16 | bool frozen = false; | ||
17 | }; | ||
18 | |||
19 | #endif | ||