aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
authorAndy Belle-Isle <abelleisle@roadrunner.com>2015-09-14 21:20:01 -0400
committerAndy Belle-Isle <abelleisle@roadrunner.com>2015-09-14 21:20:09 -0400
commit45e83c53ee36d8999c00ebfc474d7ef3bb103c14 (patch)
tree8d801fa25cf2f72e144165054564329fa3d71c13 /include/entities.h
parentb04891e13dcb33ee8ea26470deae440d0c664420 (diff)
Added mouse support, and debug
Added FPS display and deltaTime display
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h
index 2ed97ee..7d5e356 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -19,6 +19,7 @@ public:
void spawn(float, float);
void draw(void);
void wander(int, vec2*);
+ virtual void interact(){}
private:
int ticksToUse;
};
@@ -26,11 +27,13 @@ private:
class Player : public Entity{
public:
Player();
+ void interact();
};
class NPC : public Entity{
public:
NPC();
+ void interact();
};
extern Entity *entnpc[32]; //The NPC base