1

Dependencies:   mbed Gamepad N5110

Files at this revision

API Documentation at this revision

Comitter:
1012754868
Date:
Sun May 05 12:40:42 2019 +0000
Parent:
9:5f73221012bf
Commit message:
update the doxygen

Changed in this revision

Food/Food.h Show annotated file Show diff for this revision Revisions of this file
Snake/Snake.h Show annotated file Show diff for this revision Revisions of this file
diff -r 5f73221012bf -r 7cb79dbb351a Food/Food.h
--- a/Food/Food.h	Sun May 05 12:33:23 2019 +0000
+++ b/Food/Food.h	Sun May 05 12:40:42 2019 +0000
@@ -37,7 +37,7 @@
             void init();
             
             /** draw Food according to the food coordinate
-             * @param the subclass of N5110(lcd) 
+             * @param lcd the subclass of N5110
             */
             void drawfood(N5110 &lcd);
             
diff -r 5f73221012bf -r 7cb79dbb351a Snake/Snake.h
--- 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);