diff options
| author | Comment <tim@gray.(none)> | 2012-12-05 22:10:04 +0000 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2012-12-05 22:10:04 +0000 |
| commit | 8fe8572729f186269b02ac2bb149fe9a25671cae (patch) | |
| tree | fb30ccab57f4c3ed50c6fc76fd28db4c63255cc0 /ofAsterisk/src/testApp.cpp | |
| parent | 7e99d4291172f4dadb59b81cf525817dd8a210e5 (diff) | |
asterisk with thread
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 +} |
