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