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: Enemy/Enemy.h
- Revision:
- 14:2d7e41f46879
- Parent:
- 10:71ced616a64f
- Child:
- 15:3dbb3f4d7ae6
--- a/Enemy/Enemy.h Tue May 26 12:49:15 2020 +0000
+++ b/Enemy/Enemy.h Tue May 26 14:33:14 2020 +0000
@@ -8,15 +8,15 @@
public:
Enemy(int seed);
~Enemy();
- void init();
void draw(N5110 &lcd);
void update(int player_x, int player_y);
int get_x();
int get_y();
- void reset(int seed);
+ void reset(int seed, N5110 &lcd);
private:
+ void DeathAnimation(N5110 &lcd);
int _x;
int _y;
int _speed;
- int four;
+ int _four;
};
\ No newline at end of file