AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
games/Game.h
- Committer:
- sillevl
- Date:
- 2015-05-24
- Revision:
- 23:eb5a5da6e83f
- Parent:
- 22:741a6e3a8dd7
File content as of revision 23:eb5a5da6e83f:
#ifndef GAME_H #define GAME_H #include "../board/Board.h" #include "../objectives/Objective.h" #include <vector> class Game /*: public ButtonListener*/{ public: Game(Board* board); virtual ~Game(); static const char* NAME; virtual void setup() = 0; void run(); Board* getBoard(); protected: Board* board; LCD* lcd; Leds* leds; Key* key; Button* button; Keyboard* keyboard; Buzzer* buzzer; vector<Objective*> objectives; void init(); void end(); }; #endif