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:
- 6:546eba371942
- Parent:
- 5:51fd6635141f
- Child:
- 8:0c6d6ed55851
--- a/Enemy/Enemy.h Wed May 20 21:39:09 2020 +0000
+++ b/Enemy/Enemy.h Fri May 22 14:58:55 2020 +0000
@@ -6,8 +6,7 @@
class Enemy
{
public:
-
- Enemy();
+ Enemy(int seed);
~Enemy();
void init();
void draw(N5110 &lcd);
@@ -16,7 +15,6 @@
int get_y();
private:
-
int _x;
int _y;
int _speed;