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:
- 54:095eae44895b
- Parent:
- 31:5c9309ddf84c
- Child:
- 56:c8fc0a1f4132
--- a/SpaceInvadersEngine/SpaceInvadersEngine.h Mon Apr 22 15:10:02 2019 +0000
+++ b/SpaceInvadersEngine/SpaceInvadersEngine.h Fri Apr 26 00:19:57 2019 +0000
@@ -18,7 +18,7 @@
{
public:
- SpaceInvadersEngine();
+ SpaceInvadersEngine();
~SpaceInvadersEngine();
void init(int space_ship_width,int space_ship_height,int bullet_size, int alien_size,int speed);
@@ -31,13 +31,14 @@
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);
+ Alien _A1;
int _space_ship_width;
int _space_ship_height;
int _bullet_size;