diff -r c600984d0428 -r bfe1077edab3 src/proto2/Physics.hh --- a/src/proto2/Physics.hh Tue Dec 02 01:46:18 2008 +0000 +++ b/src/proto2/Physics.hh Wed Dec 03 12:09:42 2008 +0000 @@ -3,6 +3,7 @@ #include #include +#include #include #include @@ -37,7 +38,6 @@ protected: //std::vector players; - //std::vector projectiles; std::vector objects; // Contains connections between signals and slots @@ -62,6 +62,8 @@ * @param object Pointer to the PhysicsObject to add. */ void addObject(PhysicsObject *object); + + void addProjectile(PhysicsObject *projectile); /** * Advance one time step in physics simulation. @@ -75,6 +77,9 @@ */ uint32_t getTick(); + + // TODO This should probably be protected or in GameStat or in GameStatee + std::list projectiles; }; /**