From 0bb92ced351b7fbba6e2e7036eae92037d08facf Mon Sep 17 00:00:00 2001 From: Comment Date: Sat, 8 Dec 2012 00:38:32 +0000 Subject: working on game logic --- vfg/src/Asterisk.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'vfg/src/Asterisk.h') diff --git a/vfg/src/Asterisk.h b/vfg/src/Asterisk.h index 5033a5c..8093213 100755 --- a/vfg/src/Asterisk.h +++ b/vfg/src/Asterisk.h @@ -4,10 +4,12 @@ #include "ofMain.h" #include "ofxNetwork.h" -#define IDLE 0 -#define WAITING 1 -#define STARTING 2 -#define PLAYING 3 +#define ASTERISK_IDLE 0 +#define ASTERISK_WAITING 1 +#define ASTERISK_STARTING 2 +#define ASTERISK_PLAYING 3 +#define ASTERISK_GAMESTARTED 1000 +#define ASTERISK_GAMEOVER 1001 class Asterisk: public ofThread @@ -31,7 +33,6 @@ class Asterisk: public ofThread void endGame(string score); int update(); int state; - bool isPlaying; int queued; protected: -- cgit v1.2.3