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: Apple/Apple.h
- Revision:
- 8:32825d724856
- Child:
- 10:3e37b58e8600
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Apple/Apple.h Fri Jun 05 06:29:17 2020 +0000
@@ -0,0 +1,29 @@
+#ifndef APPLE_H
+#define APPLE_H
+
+#include "mbed.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+
+
+class Apple
+
+{
+public:
+
+ Apple();
+ ~Apple();
+ void init(int size);
+ void draw(N5110 &lcd);
+ Vector2D get_pos();
+ void set_pos(Vector2D a);
+
+private:
+
+ int _x;
+ int _y;
+ int _size;
+
+};
+#endif
\ No newline at end of file