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: Alien/Alien.h
- Revision:
- 6:5bea67cc96f9
- Parent:
- 2:c2316b659b97
- Child:
- 7:06a2558155f0
--- a/Alien/Alien.h Sun Mar 22 19:06:39 2020 +0000
+++ b/Alien/Alien.h Mon Mar 23 15:20:59 2020 +0000
@@ -8,13 +8,14 @@
{
public:
- void init(int x, int y, int speed);
+ void init(int y, int size);
void draw(N5110 &lcd);
void get_position();
- void update(Direction d,float mag);
+ void update();
public:
- int x;
- int y;
- int speed;
+ int X;
+ int Y;
+ int Speed;
+ int Size;
};
\ No newline at end of file