AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Committer:
sillevl
Date:
Sat May 23 17:15:42 2015 +0000
Revision:
13:ece97a1108cc
Child:
14:e0bfee0a5e66
Refactoring and adding GameFactory and Objective concept

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sillevl 13:ece97a1108cc 1 #ifndef GAMEFACTORY_H
sillevl 13:ece97a1108cc 2 #define GAMEFACTORY_H
sillevl 13:ece97a1108cc 3
sillevl 13:ece97a1108cc 4 #include "../board/Board.h"
sillevl 13:ece97a1108cc 5 #include "Game.h"
sillevl 13:ece97a1108cc 6
sillevl 13:ece97a1108cc 7 class GameFactory{
sillevl 13:ece97a1108cc 8 public:
sillevl 13:ece97a1108cc 9 static Game* create_game(Board* board, int choice); //factory method
sillevl 13:ece97a1108cc 10
sillevl 13:ece97a1108cc 11 };
sillevl 13:ece97a1108cc 12
sillevl 13:ece97a1108cc 13
sillevl 13:ece97a1108cc 14 #endif