diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-14 16:33:29 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-14 16:33:29 -0400 |
commit | 6eaefb4dd401a1c5e9cc7fb8e909521e045c0710 (patch) | |
tree | 9ab9b94012b48688bd7b8dce1d7b1933f9b123df /src/components.h | |
parent | 6cd202153bb61e14f9968845c43ca966ceab1e05 (diff) | |
download | therapy-6eaefb4dd401a1c5e9cc7fb8e909521e045c0710.tar.gz therapy-6eaefb4dd401a1c5e9cc7fb8e909521e045c0710.tar.bz2 therapy-6eaefb4dd401a1c5e9cc7fb8e909521e045c0710.zip |
Removed some unnecessary header transculsions
Diffstat (limited to 'src/components.h')
-rw-r--r-- | src/components.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/components.h b/src/components.h index 3d80d1a..2ec19ff 100644 --- a/src/components.h +++ b/src/components.h | |||
@@ -1,11 +1,13 @@ | |||
1 | #ifndef COMPONENTS_H | 1 | #ifndef COMPONENTS_H |
2 | #define COMPONENTS_H | 2 | #define COMPONENTS_H |
3 | 3 | ||
4 | #include "entity.h" | ||
5 | #include <utility> | 4 | #include <utility> |
6 | #include <list> | 5 | #include <list> |
7 | #include "map.h" | 6 | #include "renderer.h" |
8 | #include <memory> | 7 | #include "entity.h" |
8 | #include "game.h" | ||
9 | |||
10 | class Map; | ||
9 | 11 | ||
10 | class UserMovementComponent : public Component { | 12 | class UserMovementComponent : public Component { |
11 | public: | 13 | public: |
@@ -33,7 +35,7 @@ class PlayerSpriteComponent : public Component { | |||
33 | void receive(Game& game, Entity& entity, const Message& msg); | 35 | void receive(Game& game, Entity& entity, const Message& msg); |
34 | 36 | ||
35 | private: | 37 | private: |
36 | Texture sprite{"../res/Starla.png"}; | 38 | Texture sprite {"../res/Starla.png"}; |
37 | int animFrame = 0; | 39 | int animFrame = 0; |
38 | bool facingLeft = false; | 40 | bool facingLeft = false; |
39 | bool isMoving = false; | 41 | bool isMoving = false; |