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:
- 9:8e695df3cc36
- Parent:
- 8:86cb9a9f8a73
- Child:
- 10:9189419fda68
--- a/Alien/Alien.h Thu Mar 26 15:24:49 2020 +0000
+++ b/Alien/Alien.h Fri Mar 27 11:55:53 2020 +0000
@@ -1,21 +1,20 @@
-// #include "Pad.h"
-// #include "mbed.h"
-// #include "N5110.h"
-// #include "Gamepad.h"
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
-// class Alien
-// {
+class Alien
+{
-// public:
-// void init(int y, int size);
-// void draw(N5110 &lcd);
-// void get_position();
-// void update();
+public:
+ void init(int y, int size);
+ void render(N5110 &lcd);
+ Vector2D get_position();
+ void update();
-// public:
-// int X;
-// int Y;
-// int Speed;
-// int Size;
-// };
\ No newline at end of file
+public:
+ int X;
+ int Y;
+ int Speed;
+ int Size;
+};
\ No newline at end of file