Zirui Chen 201235448

Dependencies:   mbed

Revision:
6:b393cfe4e0a7
Parent:
5:7207c9b70108
Child:
7:f61ac963eb07
--- a/Board/Board.h	Wed May 27 21:13:59 2020 +0000
+++ b/Board/Board.h	Thu May 28 01:11:47 2020 +0000
@@ -11,11 +11,11 @@
 public:
 
     Board();
-    ~Board();
-    void init(int x,int y,int height,int width,N5110 &lcd);
-    void draw(N5110 &lcd);
-    void update(Direction d,float mag,N5110 &lcd);
-    void add_score();
+    ~Board();//constructor and destructor
+    void init(int x,int y,int height,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();
     Vector2D get_pos();