summaryrefslogtreecommitdiff
path: root/gaunt01/src/trapdoor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-04-12 21:50:39 +0100
committerTim Redfern <tim@eclectronics.org>2012-04-12 21:50:39 +0100
commitd45a554faaf557b9e9a4b7a43b73b89f03800a96 (patch)
tree6825b969ccada08fa638d5f47ac15b5515e1f8ac /gaunt01/src/trapdoor.h
parent6ddd691156f1a3a24be9045056db39e78041b8d8 (diff)
bird shadow
Diffstat (limited to 'gaunt01/src/trapdoor.h')
-rw-r--r--gaunt01/src/trapdoor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gaunt01/src/trapdoor.h b/gaunt01/src/trapdoor.h
index 389e4ad..8cff4f4 100644
--- a/gaunt01/src/trapdoor.h
+++ b/gaunt01/src/trapdoor.h
@@ -27,13 +27,15 @@ class trapdoor
vector<ofVec2f> getCorners();
ofVec2f bounds2UV(ofVec2f pt);
-
+
void setBoundingRect(float x,float y, float width,float height);
ofRectangle getBoundingRect();
ofRectangle getInnerRect();
void trigger();
float getoffset();
+ float getFalldist();
+
protected:
private:
morphmesh surround;
@@ -59,6 +61,8 @@ class trapdoor
bool opening;
+ float triggeredTime;
+
};
#endif // TRAPDOOR_H