AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

games/Game.h

Committer:
sillevl
Date:
2014-12-13
Revision:
5:be598835bab0
Child:
12:22e9ef610ea2

File content as of revision 5:be598835bab0:

#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