optimiasted crystal, entity now has a collide methode, which will be called when an entity collison has with the player.

This commit is contained in:
Remco
2016-06-09 12:35:00 +02:00
parent 1f3188376a
commit 9cfaf07eba
6 changed files with 19 additions and 25 deletions
+2
View File
@@ -13,6 +13,8 @@ public:
virtual void draw();
virtual void update(float elapsedTime) {};
virtual void collide() {};
Vec3f position;
Vec3f rotation;
float scale;