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.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/gaunt01/src/bird.h b/gaunt01/src/bird.h
index 4114ad3..140a102 100644
--- a/gaunt01/src/bird.h
+++ b/gaunt01/src/bird.h
@@ -37,21 +37,27 @@ class bird
virtual ~bird();
void update(const vector<ofVec3f>& players);
void draw();
+ void drawShadow();
+
+ string currentseq;
+ morphmesh model;
protected:
private:
ofVec3f position;
- ofVec3f heading;
+ float heading;
ofVec3f direction;
float velocity; //per second
- float turnAngle; //per second
- float diveAngle; //per second
+ float turnRate; //per second
+ float diveRate; //per second
float lastTime;
- morphmesh model;
+
ofImage texture;
+
+
};
#endif // BIRD_H