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.
Diff: GameEngine/GameEngine.h
- Revision:
- 34:85ccc16f24d2
- Parent:
- 33:7fedd8029473
- Child:
- 36:27aa597db3d2
--- a/GameEngine/GameEngine.h Thu May 14 22:41:16 2020 +0000 +++ b/GameEngine/GameEngine.h Fri May 15 12:05:33 2020 +0000 @@ -75,6 +75,9 @@ /** Draws each people object */ void draw_people(); + /** Spawns people in random places at bottom of screen*/ + void spawn_people(); + // Variables --------------------------------------------------------------- /** Define direction d of joystick*/ @@ -98,6 +101,9 @@ /** Counter for spawning aliens*/ int spawn_alien_counter; + /** Counter for numeber of aliens*/ + int alien_number_counter; + // Vectors ----------------------------------------------------------------- /** Vector to store each new bullet object*/