aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@clyne-lp.example.com>2015-09-17 09:22:45 -0400
committerClyne Sullivan <clyne@clyne-lp.example.com>2015-09-17 09:22:45 -0400
commitc38029fa3d4fd7488c2bd9236eec86aff4448314 (patch)
tree2807889557cbc0c5391181c3556e4978eaa9549a /include/entities.h
parent334ee89484336412d39e509c2594dee8f47c22ad (diff)
shit
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/include/entities.h b/include/entities.h
deleted file mode 100644
index bc277cd..0000000
--- a/include/entities.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef ENTITIES_H
-#define ENTITIES_H
-
-#include <common.h>
-
-extern int npcAmt;
-
-class Entity{
-public:
- float width;
- float height;
- float speed;
- int type, subtype;
- vec2 loc;
- vec2 vel;
- bool right,left, canMove;
- bool alive;
-
- unsigned int texture[];
-
- void spawn(float, float);
- void draw(void);
- void wander(int, vec2*);
- virtual void interact(){}
-private:
- int ticksToUse;
-};
-
-class Player : public Entity{
-public:
- Player();
- void interact();
-};
-
-class NPC : public Entity{
-public:
- NPC();
- void interact();
-};
-
-extern Entity *entnpc[32]; //The NPC base
-extern NPC npc[32];
-
-class Structures : public Entity{
-public:
- Structures();
- void spawn(int, float, float);
-};
-
-#endif // ENTITIES_H