AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: games/Game.h
- Revision:
- 5:be598835bab0
- Child:
- 12:22e9ef610ea2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/games/Game.h Sat Dec 13 12:24:37 2014 +0000 @@ -0,0 +1,20 @@ +#ifndef GAME_H +#define GAME_H + +#include "../board/Board.h" + +class Game{ + public: + Game(Board* board); + static const char* NAME; + static Game* create_game(Board* board, int choice); //factory method + + virtual void run() = 0; + + protected: + Board* board; + +}; + + +#endif \ No newline at end of file