AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
games/GameFactory.cpp@27:f29805113454, 2017-02-09 (annotated)
- Committer:
- sillevl
- Date:
- Thu Feb 09 12:28:56 2017 +0000
- Revision:
- 27:f29805113454
- Parent:
- 14:e0bfee0a5e66
ARCHIVE WIP, not working (crashes, cause unknown)
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 | } |