AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
13:ece97a1108cc
Parent:
5:be598835bab0
Child:
14:e0bfee0a5e66
--- a/games/DummyGame.cpp	Sat May 23 15:28:55 2015 +0000
+++ b/games/DummyGame.cpp	Sat May 23 17:15:42 2015 +0000
@@ -1,4 +1,5 @@
 #include "DummyGame.h"
+#include "../objectives/WaitForKeyObjective.h"
 
 const char* NAME = "DummyGame";
 
@@ -6,9 +7,11 @@
     
 }
 
-void DummyGame::run(){
-    board->lcd->printf("DummyGame");   
-    while(true){
-        // don't return from this function yet (only if the game ends);   
-    }
-}
\ No newline at end of file
+void DummyGame::run(){ 
+    WaitForKeyObjective* objective = new WaitForKeyObjective();
+    objective->start();
+}
+
+void DummyGame::setup(){
+
+}