AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
16:e8e96bf22df1
Parent:
15:78116b7254d5
Child:
18:abcebc4d0da0
--- a/objectives/Objective.h	Sat May 23 17:55:38 2015 +0000
+++ b/objectives/Objective.h	Sat May 23 18:36:54 2015 +0000
@@ -3,7 +3,7 @@
 
 #include "../games/Game.h"
 
-class Objective{
+class Objective : public ButtonListener{
     
     enum Status { WAITING, ACTIVE, COMPLETED };
     
@@ -24,9 +24,7 @@
     Button* button;
     Keyboard* keyboard;
     Buzzer* buzzer;
-    
-    uint32_t keyEvent(uint32_t key);
-    
+       
     private:
     Status status;