From 6eaefb4dd401a1c5e9cc7fb8e909521e045c0710 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 14 Mar 2015 16:33:29 -0400 Subject: Removed some unnecessary header transculsions --- src/components.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/components.h') 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 @@ #ifndef COMPONENTS_H #define COMPONENTS_H -#include "entity.h" #include #include -#include "map.h" -#include +#include "renderer.h" +#include "entity.h" +#include "game.h" + +class Map; class UserMovementComponent : public Component { public: @@ -33,7 +35,7 @@ class PlayerSpriteComponent : public Component { void receive(Game& game, Entity& entity, const Message& msg); private: - Texture sprite{"../res/Starla.png"}; + Texture sprite {"../res/Starla.png"}; int animFrame = 0; bool facingLeft = false; bool isMoving = false; -- cgit 1.4.1