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:
- 2:c2316b659b97
- Child:
- 6:5bea67cc96f9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Alien/Alien.h Sat Mar 14 20:52:07 2020 +0000
@@ -0,0 +1,20 @@
+
+#include Pad.h
+#include mbed.h
+#include N5110.h
+#include Gamepad.h
+
+class Alien
+{
+
+public:
+ void init(int x, int y, int speed);
+ void draw(N5110 &lcd);
+ void get_position();
+ void update(Direction d,float mag);
+
+public:
+ int x;
+ int y;
+ int speed;
+};
\ No newline at end of file