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
- Committer:
- Noximilien
- Date:
- 2019-03-27
- Revision:
- 22:4dc3c95f2146
- Parent:
- 21:0eb394495b8a
- Child:
- 23:240bc00ef25b
File content as of revision 22:4dc3c95f2146:
#ifndef GAME_H #define GAME_H #include "geometry.h" class Game{ public: Game(); bool updateAndDraw(); void startNewGame(); private: void collideEnemiesAndBlasts(); void fireNewBlast(); void collideEnemiesBlastsAndPlayer(); void updateAndDrawBlasts(); void playerShipMovement(); CircleBounds player_bounds; CircleBounds blast_bounds; }; #endif