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: SpaceInvaderEngine/SpaceInvaderEngine.h
- Revision:
- 24:ff5af5a013b5
- Parent:
- 23:aa86e32b6a74
- Child:
- 33:d8284dee58db
--- a/SpaceInvaderEngine/SpaceInvaderEngine.h Thu May 14 08:33:06 2020 +0000
+++ b/SpaceInvaderEngine/SpaceInvaderEngine.h Thu May 14 17:35:35 2020 +0000
@@ -17,9 +17,9 @@
public:
SpaceInvaderEngine();
~SpaceInvaderEngine();
- void init(int ship_height, int ship_width, int alien_size, int no_aliens, int armada_column_size, int armada_row_size, int cover_y, int cover1_x, int cover2_x, int cover3_x, int no_rocks);
+ void init(int ship_height, int ship_width, int alien_size, int no_aliens, int armada_column_size, int armada_row_size, int cover_y, int cover1_x, int cover2_x, int cover3_x, int no_rocks, int level);
void read_input(Gamepad &pad);
- void update(Gamepad &pad, N5110 &lcd, int counter);
+ void update(Gamepad &pad, N5110 &lcd, int counter, int level);
void render(N5110 &lcd);
void shoot_bullet();
void get_ship_pos();