summaryrefslogtreecommitdiff
path: root/gaunt01/src/trapdoor.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-04-16 18:35:55 +0100
committerTim Redfern <tim@eclectronics.org>2012-04-16 18:35:55 +0100
commit3411448d999ce36b5fcb14ca4829435308cbd70a (patch)
treed102c6c3cea107f365328343c7b8d2258e3bf527 /gaunt01/src/trapdoor.h
parent5c0480c311760f800ccdff4868e8fe0746d8f2b5 (diff)
player class
Diffstat (limited to 'gaunt01/src/trapdoor.h')
-rw-r--r--gaunt01/src/trapdoor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gaunt01/src/trapdoor.h b/gaunt01/src/trapdoor.h
index 8cff4f4..d307c2d 100644
--- a/gaunt01/src/trapdoor.h
+++ b/gaunt01/src/trapdoor.h
@@ -4,6 +4,7 @@
#include "ofMain.h"
#include "morphmesh.h"
#include "normBindTexture.h"
+#include "player.h"
/*
const vector<ofxCvBlob>& blobs
@@ -20,7 +21,7 @@ class trapdoor
trapdoor(ofVec2f _boundTR=ofVec2f(0,0),ofVec2f _boundBR=ofVec2f(0,0),ofVec2f _doorSize=ofVec2f(10,10));
virtual ~trapdoor();
- bool checkUpdate(const vector<ofVec3f>& players);
+ bool checkUpdate(const map<int,player>& players);
void draw();
void start();
void startPos(ofVec2f pos);