Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17dg by
game/game.h@12:bfe3a3deaac3, 2019-03-17 (annotated)
- Committer:
- Noximilien
- Date:
- Sun Mar 17 09:44:59 2019 +0000
- Revision:
- 12:bfe3a3deaac3
- Parent:
- 11:cf2ba52e8b7e
- Child:
- 13:5c3dc6e827c2
I have decided to switch from class to struct. So far I have changed the enemy and blast, still, need to change stars and menu. I have made a collision function for blast and enemy. Need to create interesting enemy death.
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 | 4:02c63aaa2df9 | 8 | private: |
Noximilien | 5:2b9181bc5c89 | 9 | void shipMovment(); |
Noximilien | 12:bfe3a3deaac3 | 10 | |
Noximilien | 11:cf2ba52e8b7e | 11 | void newSmallStarFlies(); |
Noximilien | 11:cf2ba52e8b7e | 12 | void updateAndDrawSmallStars(); |
Noximilien | 11:cf2ba52e8b7e | 13 | void newMediumStarFlies(); |
Noximilien | 11:cf2ba52e8b7e | 14 | void updateAndDrawMediumStars(); |
Noximilien | 3:10918b0f7a7d | 15 | }; |
Noximilien | 3:10918b0f7a7d | 16 | |
Noximilien | 3:10918b0f7a7d | 17 | |
Noximilien | 3:10918b0f7a7d | 18 | #endif |