Zirui Chen 201235448

Dependencies:   mbed

Revision:
12:b476186651cf
Parent:
7:f61ac963eb07
--- a/Board/Board.h	Fri May 29 04:12:32 2020 +0000
+++ b/Board/Board.h	Fri May 29 04:16:48 2020 +0000
@@ -13,13 +13,18 @@
 class Board
 {
 public:
-
-    void init(int x,int y,int length,int width);            //initial the first data of board
-    void draw(N5110 &lcd);                                  //use screeen function to draw a board
-    void update(Direction d,float mag);                     //update borad to position to realise the effect of speed
-    void add_score();                                       //score generation function
-    int get_score();                                        //score reading function
-    Vector2D get_pos();                                     //position reading function
+    /**initial the first data of board*/
+    void init(int x,int y,int length,int width);
+    /**use screeen function to draw a board*/            
+    void draw(N5110 &lcd);
+    /**update borad to position to realise the effect of speed*/                                 
+    void update(Direction d,float mag); 
+    /**score generation function*/                    
+    void add_score();
+    /**score reading function*/                                       
+    int get_score(); 
+    /**position reading function*/                                       
+    Vector2D get_pos();                                     
 
 private:
     //all parameters about board