aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-10-19 08:50:14 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-10-19 08:50:14 -0400
commit452f529996da277ac13d1776a03f26f0094a0357 (patch)
tree012a8850a603f3def2ee89f5d27dbf50cf82d444 /include/entities.h
parentb692f5845d7d8293beda18db6e5bfed52549365a (diff)
documentation part 1
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/entities.h b/include/entities.h
index 431407b..655390b 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -23,8 +23,8 @@ public:
float height;
float speed; //speed of the play
- int health;
- int maxHealth;
+ float health;
+ float maxHealth;
int subtype;
_TYPE type;
@@ -68,7 +68,6 @@ public:
std::vector<int (*)(NPC *)>aiFunc;
NPC();
void addAIFunc(int (*func)(NPC *),bool preload);
- void flushAIFunc(void);
void interact();
void wander(int, vec2*);
};