Initial publish
Dependencies: mbed
Fork of el17dg by
game/game.h@19:b78fa41d04a9, 2019-03-21 (annotated)
- Committer:
- Noximilien
- Date:
- Thu Mar 21 15:12:07 2019 +0000
- Revision:
- 19:b78fa41d04a9
- Parent:
- 13:5c3dc6e827c2
- Child:
- 20:557e84189a57
I have made a game over screen when the player dies. I made the red light flash (when health is low). I have started making a new intro to my game - animated. I have made a "game over" title - need to add to the screen. Have made multiple led flash.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Noximilien | 3:10918b0f7a7d | 1 | #ifndef GAME_H |
Noximilien | 3:10918b0f7a7d | 2 | #define GAME_H |
Noximilien | 3:10918b0f7a7d | 3 | |
Noximilien | 3:10918b0f7a7d | 4 | |
Noximilien | 4:02c63aaa2df9 | 5 | class Game{ |
Noximilien | 4:02c63aaa2df9 | 6 | public: |
Noximilien | 4:02c63aaa2df9 | 7 | bool updateAndDraw(); |
Noximilien | 19:b78fa41d04a9 | 8 | bool checkGameOver(); |
Noximilien | 4:02c63aaa2df9 | 9 | private: |
Noximilien | 3:10918b0f7a7d | 10 | }; |
Noximilien | 3:10918b0f7a7d | 11 | |
Noximilien | 3:10918b0f7a7d | 12 | |
Noximilien | 3:10918b0f7a7d | 13 | #endif |