summaryrefslogtreecommitdiff
path: root/gaunt01/src/trapdoor.h
diff options
context:
space:
mode:
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