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@5:2b9181bc5c89, 2019-03-04 (annotated)
- Committer:
- Noximilien
- Date:
- Mon Mar 04 20:15:55 2019 +0000
- Revision:
- 5:2b9181bc5c89
- Parent:
- 4:02c63aaa2df9
- Child:
- 9:5ad5501c702e
Have made the ship moving around in the "start game". Have done 4 different models of stars and a model of a blaster. Have made that the ship would not leave the set border limit (beyond the screen).
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 | 5:2b9181bc5c89 | 10 | void shipFire(); |
Noximilien | 3:10918b0f7a7d | 11 | |
Noximilien | 3:10918b0f7a7d | 12 | }; |
Noximilien | 3:10918b0f7a7d | 13 | |
Noximilien | 3:10918b0f7a7d | 14 | |
Noximilien | 3:10918b0f7a7d | 15 | #endif |