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:
- 15:15577b650c2e
- Parent:
- 11:ba20e1b516a1
- Child:
- 16:8cb23849b95a
--- a/Apple/Apple.h Fri Jun 05 22:31:05 2020 +0000
+++ b/Apple/Apple.h Fri Jun 05 22:35:50 2020 +0000
@@ -18,10 +18,22 @@
Apple();
~Apple();
- 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
+ /**
+ @pram The Initial setup of the of the apple
+ */
+ void init(int size);
+ /**
+ @pram Draws the Apple on the LCD
+ */
+ void draw(N5110 &lcd);
+ /**
+ @returns Gives us position data
+ */
+ Vector2D get_pos();
+ /**
+ @pram Sets the Position
+ */
+ void set_pos(Vector2D a); //
private: