AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
objectives/WaitForKeyObjective.h@25:a26b2ec5ab72, 2015-05-24 (annotated)
- Committer:
- sillevl
- Date:
- Sun May 24 21:09:30 2015 +0000
- Revision:
- 25:a26b2ec5ab72
- Parent:
- 16:e8e96bf22df1
prevent WaitForKeyObjective from continuously refreshing the screen
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 13:ece97a1108cc | 1 | #ifndef WAITFORKEYOBJECTIVE_H |
sillevl | 13:ece97a1108cc | 2 | #define WAITFORKEYOBJECTIVE_H |
sillevl | 13:ece97a1108cc | 3 | |
sillevl | 13:ece97a1108cc | 4 | #include "Objective.h" |
sillevl | 13:ece97a1108cc | 5 | |
sillevl | 13:ece97a1108cc | 6 | class WaitForKeyObjective : public Objective{ |
sillevl | 13:ece97a1108cc | 7 | |
sillevl | 13:ece97a1108cc | 8 | public: |
sillevl | 14:e0bfee0a5e66 | 9 | WaitForKeyObjective(Game* game); |
sillevl | 14:e0bfee0a5e66 | 10 | virtual void run(); |
sillevl | 25:a26b2ec5ab72 | 11 | void buttonEvent(char c); |
sillevl | 13:ece97a1108cc | 12 | |
sillevl | 13:ece97a1108cc | 13 | }; |
sillevl | 13:ece97a1108cc | 14 | |
sillevl | 13:ece97a1108cc | 15 | |
sillevl | 13:ece97a1108cc | 16 | #endif |