diff options
Diffstat (limited to 'ofAsterisk/src/testApp.cpp')
| -rwxr-xr-x | ofAsterisk/src/testApp.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/ofAsterisk/src/testApp.cpp b/ofAsterisk/src/testApp.cpp index 1a172ee..772a9b6 100755 --- a/ofAsterisk/src/testApp.cpp +++ b/ofAsterisk/src/testApp.cpp @@ -2,16 +2,12 @@ //-------------------------------------------------------------- void testApp::setup(){ - queuecheck=0; + game.setup("1122",2000); } //-------------------------------------------------------------- void testApp::update(){ int ret=game.update(); - if (ofGetElapsedTimeMillis()-queuecheck>5000) { - game.requestStatus(); - queuecheck=ofGetElapsedTimeMillis(); - } } //-------------------------------------------------------------- @@ -70,6 +66,6 @@ void testApp::gotMessage(ofMessage msg){ } //-------------------------------------------------------------- -void testApp::dragEvent(ofDragInfo dragInfo){ +void testApp::dragEvent(ofDragInfo dragInfo){ -}
\ No newline at end of file +} |
