From b916619dd6511605610a9249823d3e797ed5928d Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 18 Jun 2012 19:55:39 +0100 Subject: mirror camera etc --- gaunt01/src/bird.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gaunt01/src/bird.h') 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; -- cgit v1.2.3