AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
14:e0bfee0a5e66
Parent:
13:ece97a1108cc
Child:
16:e8e96bf22df1
--- a/games/DummyGame.cpp	Sat May 23 17:15:42 2015 +0000
+++ b/games/DummyGame.cpp	Sat May 23 17:48:03 2015 +0000
@@ -1,5 +1,5 @@
 #include "DummyGame.h"
-#include "../objectives/WaitForKeyObjective.h"
+#include "../objectives/ObjectiveFactory.h"
 
 const char* NAME = "DummyGame";
 
@@ -8,7 +8,7 @@
 }
 
 void DummyGame::run(){ 
-    WaitForKeyObjective* objective = new WaitForKeyObjective();
+    Objective* objective = new ObjectiveFactory->create(this, 0);
     objective->start();
 }