AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
games/GameFactory.cpp@14:e0bfee0a5e66, 2015-05-23 (annotated)
- Committer:
- sillevl
- Date:
- Sat May 23 17:48:03 2015 +0000
- Revision:
- 14:e0bfee0a5e66
- Parent:
- 13:ece97a1108cc
added ObjectiveFactory class and small refactoring on game
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 13:ece97a1108cc | 1 | #include "GameFactory.h" |
sillevl | 13:ece97a1108cc | 2 | #include "DummyGame.h" |
sillevl | 13:ece97a1108cc | 3 | |
sillevl | 14:e0bfee0a5e66 | 4 | Game* GameFactory::create(Board* board, int choice){ |
sillevl | 13:ece97a1108cc | 5 | Game* game = new DummyGame(board); |
sillevl | 13:ece97a1108cc | 6 | return game; |
sillevl | 13:ece97a1108cc | 7 | } |