ELEC2645 (2018/19) / Mbed 2 deprecated el18jz_

Dependencies:   mbed

Revision:
2:c7976a633ba0
Parent:
1:538386e72e40
Child:
3:ccbda43c2124
--- a/move/Move.h	Wed May 08 22:10:38 2019 +0000
+++ b/move/Move.h	Wed May 08 22:17:34 2019 +0000
@@ -11,16 +11,18 @@
 @date 8th May 2019
 */
 
-
+/** Snakebody struct */
 struct SnakeBody{
-    char _xx[4000];
-    char _yy[4000];
-    char _dir;
+    char _xx[4000];/**< char for x coordinate for each bit of snake body*/
+    char _yy[4000];/**< char for x coordinate for each bit of snake body*/
+    char _dir;/**< char for direction of snake hesd*/
     
     };
+    
+/** Food struct */
 struct Food{
-    char a;
-    char b;
+    char a;/**< char for x coordinate for food position*/
+    char b;/**< char for y coordinate for food position*/
     
     };