AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
13:ece97a1108cc
Child:
14:e0bfee0a5e66
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/objectives/Objective.cpp	Sat May 23 17:15:42 2015 +0000
@@ -0,0 +1,26 @@
+
+#include "Objective.h"
+
+Objective::Objective(){
+    status = WAITING;    
+}
+
+Objective::Status Objective::getStatus(){
+    return status;   
+}
+
+void Objective::start(){
+    while(status != COMPLETED){
+        run();
+    }
+}
+
+void Objective::run(){
+    //board->lcd->printf("DummyGame");
+    //board->lcd->printf("press any key to continue");   
+}
+
+void Objective::complete(){
+    status = COMPLETED;
+}
+