AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Airsofttimer.h@5:be598835bab0, 2014-12-13 (annotated)
- Committer:
- sillevl
- Date:
- Sat Dec 13 12:24:37 2014 +0000
- Revision:
- 5:be598835bab0
- Parent:
- 4:2c91c9eccf3a
- Child:
- 8:e9fb60f5a56f
Refactored game board (all hardware) and added abstract game class
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 0:4a0929f1b4fd | 1 | |
sillevl | 0:4a0929f1b4fd | 2 | |
sillevl | 4:2c91c9eccf3a | 3 | #ifndef AIRSOFTTIMER_H |
sillevl | 4:2c91c9eccf3a | 4 | #define AIRSOFTTIMER_H |
sillevl | 0:4a0929f1b4fd | 5 | |
sillevl | 0:4a0929f1b4fd | 6 | #include "mbed.h" |
sillevl | 5:be598835bab0 | 7 | #include "board/Board.h" |
sillevl | 5:be598835bab0 | 8 | #include "games/Game.h" |
sillevl | 0:4a0929f1b4fd | 9 | |
sillevl | 0:4a0929f1b4fd | 10 | class Airsofttimer |
sillevl | 0:4a0929f1b4fd | 11 | { |
sillevl | 4:2c91c9eccf3a | 12 | static const char* LOGO[]; |
sillevl | 5:be598835bab0 | 13 | |
sillevl | 4:2c91c9eccf3a | 14 | public: |
sillevl | 4:2c91c9eccf3a | 15 | Airsofttimer(Pinouts pinouts); |
sillevl | 4:2c91c9eccf3a | 16 | |
sillevl | 5:be598835bab0 | 17 | private: |
sillevl | 5:be598835bab0 | 18 | Board* board; |
sillevl | 4:2c91c9eccf3a | 19 | |
sillevl | 5:be598835bab0 | 20 | void init(); |
sillevl | 0:4a0929f1b4fd | 21 | |
sillevl | 0:4a0929f1b4fd | 22 | }; |
sillevl | 0:4a0929f1b4fd | 23 | |
sillevl | 0:4a0929f1b4fd | 24 | #endif |