Mochu Yao explorer game

Dependencies:   mbed

Revision:
23:7be9701fc1b8
Parent:
21:349c70c8a7de
Child:
24:d7a794fd1228
--- a/Surface/surface.h	Tue Apr 28 16:58:19 2020 +0000
+++ b/Surface/surface.h	Tue Apr 28 17:19:55 2020 +0000
@@ -2,14 +2,6 @@
 #define LINE_H
 
 #include "mbed.h"
-/** surface 
-* @the surface file has three functions
-//1 the leftside of the line move toward right then the rightside should also move to the right to keep the length
-//2 the line will be random length but must be suitable
-//3 makesure there are two surface for player to stay
-* @date April 22th 2020
-* @author Yaomochu
-*/
 
 struct Line {
  int length;
@@ -19,8 +11,14 @@
  };
  //the line structer will have four main elements 
  
-/** Surface Class
-@code
+/** surface Class
+* @1 the leftside of the line move toward right then the rightside should also move to the right to keep the length
+* @2 the line will be random length but must be suitable
+* @3 makesure there are two surface for player to stay
+* @date April 22th 2020
+* @author Yaomochu
+
+* @code
 
 #include "mbed.h"
 #include "N5110.h"
@@ -69,7 +67,8 @@
     lcd.drawLine(line_6_value.left,line_6_value.y,line_6_value.right,line_6_value.y,FILL_BLACK);
     }
 }
-@endcode
+
+* @endcode
 */
 
 //the surface function is to creat the surface for player to stand on and move