1

Dependencies:   mbed Gamepad N5110

Revision:
10:7cb79dbb351a
Parent:
9:5f73221012bf
--- a/Snake/Snake.h	Sun May 05 12:33:23 2019 +0000
+++ b/Snake/Snake.h	Sun May 05 12:40:42 2019 +0000
@@ -32,60 +32,60 @@
         ~Snake();
         
         /** initial snake's property
-        * @param the value of the initial cooridnate_x(int) of snake tail
-        * @param the value of the initial coordinate_y(int) of snake tail
-        * @param the value of the initial length(int) of snake
-        * @param the value of the initial live(int) of snake
+        * @param  value of the initial cooridnate_x(int) of snake tail
+        * @param  value of the initial coordinate_y(int) of snake tail
+        * @param  value of the initial length(int) of snake
+        * @param  value of the initial live(int) of snake
         */
         void init(int x, int y, int length,int _live);
         
         /** draw snake on the map
-        * @param the subclass of N5110(lcd) 
-        * @param the subclass of Gamepad(pad)
+        * @param lcd the subclass of N5110
+        * @param pad the subclass of Gamepad
         */
         void drawsnake(N5110 &lcd, Gamepad &pad);
         
         /** Determine the movement direction of snake
-        * @param the subclass of Gamepad(pad)
+        * @param pad the subclass of Gamepad
         */
         void snakemov(Gamepad &pad);
         
         /** Determine if the snake is dead
-        * @param the subclass of N5110(lcd)
-        * @param the subclass of Gamepad(pad)
+        * @param lcd the subclass of N5110
+        * @param pad the subclass of Gamepad
         * @return  return 0 to end loop
         */
         int dead(N5110 &lcd, Gamepad &pad);
         
         /** Determine if the snake eats food
-        * @param the subclass of Gamepad(pad)
+        * @param pad the subclass of Gamepad
         */
         void eat(Gamepad &pad);
         
         /** Determine if the snake collide the wall
-        * @param the subclass of N5110(lcd) 
-        * @param the subclass of Gamepad(pad)
+        * @param lcd the subclass of N5110 
+        * @param pad the subclass of Gamepad
         */
         void check_WallCollision(N5110 &lcd, Gamepad &pad);
         
         /** Determine if the snake collide the tail
-        * @param the subclass of N5110(lcd)  
-        * @param the subclass of Gamepad(pad)
+        * @param lcd the subclass of N5110 
+        * @param pad the subclass of Gamepad
         */
         void check_TailCollision(N5110 &lcd, Gamepad &pad);
         
         /** Draw the current health points and score
-        * @param the subclass of N5110(lcd)
+        * @param lcd the subclass of N5110
         */
         void drawscore(N5110 &lcd);
         
         /** Make a noise when eating food
-        * @param the subclass of Gamepad(pad)
+        * @param pad the subclass of Gamepad
         */
         void Tone_1(Gamepad &pad);
         
         /** Make a noise when collide wall
-        * @param the subclass of Gamepad(pad)
+        * @param pad the subclass of Gamepad
         */
         void game_music(Gamepad &pad);