From 879c2c04d9c3879f871cfe79f9b25fd23c5184b4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 11 Jun 2015 11:38:49 -0400 Subject: Wrote EntityManager --- src/components/physics_body.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/components/physics_body.h (limited to 'src/components/physics_body.h') diff --git a/src/components/physics_body.h b/src/components/physics_body.h deleted file mode 100644 index 079cc51..0000000 --- a/src/components/physics_body.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef PHYSICS_BODY_H -#define PHYSICS_BODY_H - -#include "entity.h" -#include - -class Game; - -class PhysicsBodyComponent : public Component { - public: - void receive(Game& game, Entity& entity, const Message& msg); - void tick(Game& game, Entity& entity, double dt); - void detectCollision(Game& game, Entity& entity, Entity& collider, std::pair old_position); - - protected: - std::pair velocity; - std::pair accel; -}; - -#endif -- cgit 1.4.1