From 7e99d4291172f4dadb59b81cf525817dd8a210e5 Mon Sep 17 00:00:00 2001 From: Comment Date: Tue, 4 Dec 2012 14:53:44 +0000 Subject: dress rehearsal version --- ofAsterisk/src/Asterisk.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ofAsterisk/src/Asterisk.h') diff --git a/ofAsterisk/src/Asterisk.h b/ofAsterisk/src/Asterisk.h index 3acdb6e..d3e3786 100755 --- a/ofAsterisk/src/Asterisk.h +++ b/ofAsterisk/src/Asterisk.h @@ -13,22 +13,24 @@ class Asterisk { public: - Asterisk(); + Asterisk(string passcode="1111"); virtual ~Asterisk(); void startGame(); void endGame(string score); int update(); - void cmd(string s); - + void requestStatus(); int state; - + + int queued; protected: + void cmd(string s); private: int startTime; FILE *file; int filenum; ofxUDPManager udpConnection; string playerCode; + }; #endif // ASTERISK_H -- cgit v1.2.3