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:
- 10:3e37b58e8600
- Parent:
- 8:32825d724856
- Child:
- 11:ba20e1b516a1
--- a/Apple/Apple.h Fri Jun 05 10:51:30 2020 +0000
+++ b/Apple/Apple.h Fri Jun 05 18:45:05 2020 +0000
@@ -14,16 +14,16 @@
Apple();
~Apple();
- void init(int size);
- void draw(N5110 &lcd);
- Vector2D get_pos();
- void set_pos(Vector2D a);
+ void init(int size); // Inital setup
+ void draw(N5110 &lcd); // Draws the Apple on the LCD
+ Vector2D get_pos(); // Needed for Poistioning
+ void set_pos(Vector2D a); // Needed for Poistioning
private:
- int _x;
- int _y;
- int _size;
+ int _x; // X Value of Apple
+ int _y; // Y Value of Apple
+ int _size; //Size set in main.cpp
};
#endif
\ No newline at end of file