Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
82:3211b31e9421
Parent:
36:27aa597db3d2
Child:
86:eecd168c3a23
--- a/People/People.h	Mon May 25 15:59:14 2020 +0000
+++ b/People/People.h	Mon May 25 18:39:51 2020 +0000
@@ -1,7 +1,7 @@
 #ifndef PEOPLE_H
 #define PEOPLE_H
  
-// Included libraries ----------------------------------------------------------
+// Included Headers ------------------------------------------------------------
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
@@ -24,11 +24,15 @@
         
         /** Initalises Alien 
          * @param position_x_start @details Random x start pos of people
+         * @param pad @detials Gamepad object
          */
         void init(Gamepad &pad, int position_x_start);
         
         /** Draws the people
          * @param lcd @details N5110 object
+         * @param d_ @details joystick direction 
+         * @param map_length @details length of the map
+         * @param position_x_map_ @details x posisition that map starts 
          */
         void draw_people(N5110 &lcd, Direction d_, int map_length_, 
         int position_x_map_);
@@ -51,7 +55,7 @@
          */
         void off_screen_x_y_checker(int map_length_, int position_x_map_);
         
-        /** move alien to top of screen if collision with alien */
+        /** Move alien to top of screen if collision with alien */
         void collision_with_alien();
         
     // Variables ---------------------------------------------------------------