AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
games/GameFactory.h@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 | #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 | 14:e0bfee0a5e66 | 9 | static Game* create(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 |