summaryrefslogtreecommitdiff
path: root/gaunt01/src/bird.h
diff options
context:
space:
mode:
Diffstat (limited to 'gaunt01/src/bird.h')
-rw-r--r--gaunt01/src/bird.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gaunt01/src/bird.h b/gaunt01/src/bird.h
index 366f7f9..29a7a70 100644
--- a/gaunt01/src/bird.h
+++ b/gaunt01/src/bird.h
@@ -50,6 +50,10 @@
#define DEBUG 1
+#define SCANNING 1
+#define SWOOPING 2
+#define ATTACKING 3
+
class bird
{
public:
@@ -63,7 +67,7 @@ class bird
void setBounds(ofPlane* _bounds);
void setCentre(ofVec2f _centre);
- string currentseq;
+ int state;
morphmesh model;
ofRay pointer;
@@ -84,6 +88,10 @@ class bird
bool leaving;
float centrehead;
+
+ //animation speed
+ void setSpeed(float speed);
+ float getSpeed();
float heading;