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
Diff: SpaceInvadersEngine/SpaceInvadersEngine.h
- Revision:
- 56:c8fc0a1f4132
- Parent:
- 54:095eae44895b
- Child:
- 57:45c5de9cefdf
diff -r 12faef5bd754 -r c8fc0a1f4132 SpaceInvadersEngine/SpaceInvadersEngine.h
--- a/SpaceInvadersEngine/SpaceInvadersEngine.h Fri Apr 26 00:35:47 2019 +0000
+++ b/SpaceInvadersEngine/SpaceInvadersEngine.h Fri Apr 26 01:09:46 2019 +0000
@@ -21,7 +21,7 @@
SpaceInvadersEngine();
~SpaceInvadersEngine();
- void init(int space_ship_width,int space_ship_height,int bullet_size, int alien_size,int speed);
+ void init(int space_ship_width,int space_ship_height,int bullet_size, int Alien_size,int speed);
void read_input(Gamepad &pad);
void update(Gamepad &pad);
void draw(N5110 &lcd);
@@ -31,9 +31,9 @@
private:
- // void check_wall_collision(Gamepad &pad);
- //void space_ship_collisions(Gamepad &pad);
- ///void check_goal(Gamepad &pad);
+ void check_wall_collision(Gamepad &pad);
+ void space_ship_collisions(Gamepad &pad);
+ void check_goal(Gamepad &pad);
void print_scores(N5110 &lcd);