XJEL2645 (18/19) / Mbed 2 deprecated Snake_Project

Dependencies:   mbed FXOS8700Q

Revision:
2:b891a5841ee2
Parent:
0:bc1d36f5f772
Child:
3:e11f0976b2db
--- a/Food/Food.h	Sun May 05 14:14:58 2019 +0000
+++ b/Food/Food.h	Sun May 05 14:59:29 2019 +0000
@@ -1,3 +1,8 @@
+/** My Sample Class 
+ * @brief Does nothing useful 
+ * @author Du Xianjie 
+ * @date May, 2019 
+ */ 
 #ifndef FOOD_H
 #define FOOD_H
 
@@ -18,13 +23,26 @@
 class Food{
     
     public:
-    
+            /** Constructor */ 
             Food();
+            /** Destructor */
             ~Food();
-            
+                
+            /** Set the screen 
+             * @param init () 
+             */ 
             void init();
+            /** Draw the screen 
+             * @renturn draw (N5110 &lcd) 
+             */ 
             void draw(N5110 &lcd);
+            /** Get the response
+             * @response () 
+             */ 
             void response();
+            /** Get the position 
+             * @return the current position 
+             */ 
             pos returnPos();
        
     private: