summary refs log tree commit diff stats
path: root/src/components/user_movement.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-06-11 11:38:49 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-06-11 11:38:49 -0400
commit879c2c04d9c3879f871cfe79f9b25fd23c5184b4 (patch)
tree70bf8773b18478af58ecd0877b6bb62a7279c094 /src/components/user_movement.h
parent11f4af82626b0e35c35606b327e4181c7c88f228 (diff)
downloadtherapy-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.h19
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
6class Game;
7
8class 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