ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_el18s2a_2

Dependencies:   mbed

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: