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:
- 22:053c11a202e1
- Parent:
- 21:f7d7834e3af1
- Child:
- 25:70b55f5bfc87
diff -r f7d7834e3af1 -r 053c11a202e1 GameEngine/GameEngine.h --- a/GameEngine/GameEngine.h Tue May 05 16:16:06 2020 +0000 +++ b/GameEngine/GameEngine.h Wed May 06 11:24:22 2020 +0000 @@ -40,16 +40,16 @@ /** Gets joystick direction from gamepad and stores it in d_*/ void read_joystick_direction(); - /** Creats bullet object if button A is pressed*/ + /** Creats bullet object if button A is pressed and stores in vector*/ void create_bullet(); - /** Draws each bullet object*/ + /** Draws each bullet object and deleted object after set movement distance*/ void draw_bullets(); - /** Creats alien object*/ + /** Creats alien object and stores in vector*/ void create_alien(); - /** Draws each alien object*/ + /** Draws each alien object and deletes both objects if collision detected*/ void draw_aliens(); // Variables -----------------------------------------------------------