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@11:cf2ba52e8b7e, 2019-03-12 (annotated)
- Committer:
- Noximilien
- Date:
- Tue Mar 12 21:46:10 2019 +0000
- Revision:
- 11:cf2ba52e8b7e
- Parent:
- 10:f02413ae09fe
- Child:
- 12:bfe3a3deaac3
Have made medium stars (the same principle as in small star) - This is the code before making the enemy ship with the same method and the background planet.
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 | 9:5ad5501c702e | 10 | void updateAndDrawBlasts(); |
Noximilien | 9:5ad5501c702e | 11 | void fireNewBlast(); |
Noximilien | 11:cf2ba52e8b7e | 12 | void newSmallStarFlies(); |
Noximilien | 11:cf2ba52e8b7e | 13 | void updateAndDrawSmallStars(); |
Noximilien | 11:cf2ba52e8b7e | 14 | |
Noximilien | 11:cf2ba52e8b7e | 15 | void newMediumStarFlies(); |
Noximilien | 11:cf2ba52e8b7e | 16 | void updateAndDrawMediumStars(); |
Noximilien | 3:10918b0f7a7d | 17 | }; |
Noximilien | 3:10918b0f7a7d | 18 | |
Noximilien | 3:10918b0f7a7d | 19 | |
Noximilien | 3:10918b0f7a7d | 20 | #endif |