not final

Dependencies:   mbed

Revision:
13:b5a1783b923b
Parent:
8:5f0190b282f7
Child:
14:3b4370d5b2c0
diff -r b476186651cf -r b5a1783b923b Touch/Touch.h
--- a/Touch/Touch.h	Fri May 29 04:16:48 2020 +0000
+++ b/Touch/Touch.h	Fri May 29 04:22:23 2020 +0000
@@ -14,18 +14,25 @@
 {
 
 public:
-
+    /**initialise board and bullet data*/
     void init(int Board_width,int Board_length,int bullet_size,int speed,N5110 &lcd);
+    /**reading gamepad control*/
     void reading(Gamepad &pad);
+    /**updating*/
     void update(Gamepad &pad,N5110 &lcd);
+    /**drawing*/
     void draw(N5110 &lcd);
+    /**led number*/
     int _leds;
     
 private:
-
+    /**Boundary touch judge*/
     void Boundary_touch(Gamepad &pad);
+    /**Board touch judge*/
     void Board_touch(Gamepad &pad,N5110 &lcd);
+    /**drop judge*/
     void drop(Gamepad &pad);
+    /**print score*/
     void print_scores(N5110 &lcd);
     
     Board _board;