summaryrefslogtreecommitdiff
path: root/ofAsterisk/src/testApp.cpp
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2012-11-29 19:13:19 +0000
committerComment <tim@gray.(none)>2012-11-29 19:13:19 +0000
commit7ae1f870faebb65e9ee3a064fc43ef2fc6955a84 (patch)
tree461ad1daea435954a994a2aac0157972d5d51e74 /ofAsterisk/src/testApp.cpp
parent8ccec15ca16cc78c625d02a56e73ff3b84858197 (diff)
work on asterisk plugin
Diffstat (limited to 'ofAsterisk/src/testApp.cpp')
-rwxr-xr-xofAsterisk/src/testApp.cpp69
1 files changed, 69 insertions, 0 deletions
diff --git a/ofAsterisk/src/testApp.cpp b/ofAsterisk/src/testApp.cpp
new file mode 100755
index 0000000..a69a084
--- /dev/null
+++ b/ofAsterisk/src/testApp.cpp
@@ -0,0 +1,69 @@
+#include "testApp.h"
+
+//--------------------------------------------------------------
+void testApp::setup(){
+
+}
+
+//--------------------------------------------------------------
+void testApp::update(){
+ int ret=game.update();
+}
+
+//--------------------------------------------------------------
+void testApp::draw(){
+
+}
+
+//--------------------------------------------------------------
+void testApp::keyPressed(int key){
+ switch (key) {
+ case 's':
+ game.startGame();
+ break;
+ case 'e':
+ game.endGame("GOOD");
+ break;
+ }
+
+}
+
+//--------------------------------------------------------------
+void testApp::keyReleased(int key){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseMoved(int x, int y ){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseDragged(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mousePressed(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::mouseReleased(int x, int y, int button){
+
+}
+
+//--------------------------------------------------------------
+void testApp::windowResized(int w, int h){
+
+}
+
+//--------------------------------------------------------------
+void testApp::gotMessage(ofMessage msg){
+
+}
+
+//--------------------------------------------------------------
+void testApp::dragEvent(ofDragInfo dragInfo){
+
+} \ No newline at end of file