From 6b1dcc5df51df4a2d8b724187eb1bcdb4fd9df8b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 14 Mar 2015 19:25:23 -0400 Subject: Added sound when you hit the ground Also split up components.cpp into files for each class, fixed a bug concerning falling off the screen when you change maps, and converted collision data into doubles. --- src/entityfactory.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/entityfactory.cpp') diff --git a/src/entityfactory.cpp b/src/entityfactory.cpp index 47a1463..bad72cf 100644 --- a/src/entityfactory.cpp +++ b/src/entityfactory.cpp @@ -1,9 +1,12 @@ #include "entityfactory.h" #include -#include "components.h" #include "muxer.h" #include #include +#include "components/static_image.h" +#include "components/simple_collider.h" +#include "components/physics_body.h" +#include "game.h" struct EntityData { char* sprite; -- cgit 1.4.1