JianWei Lee
/
project_game
Meteor defense project
Diff: GameEngine/GameEngine.h
- Revision:
- 46:abb046536524
- Parent:
- 45:1a013017ae92
--- a/GameEngine/GameEngine.h Wed May 03 23:41:41 2017 +0000 +++ b/GameEngine/GameEngine.h Thu May 04 09:46:59 2017 +0000 @@ -32,30 +32,30 @@ /**Initialise GameEngine * - *@brief Set the number of life at every level to 3 - *@brief To initialise all the variables of Weapons and Spawns + *@brief Set the number of life at every level to 3 \n + *@brief To initialise all the variables of Weapons and Spawns \n *@param w - the current number level */ void init(int w); /**Update game * - *@brief This is where all the gameplay and drawing is gathered - *@brief The only way to lose this game is when the spawns reaches the player side (y = 46) for 3 times in a wave + *@brief This is where all the gameplay and drawing is gathered \n + *@brief The only way to lose this game is when the spawns reaches the player side (y = 46) for 3 times in a wave\n *@brief Lights up LEDs according to number of lifes left */ void update(Gamepad &pad, N5110 &lcd); /**Weapon Upgrades * - *@brief Weapon upgrade will happen everytime after completing a game wave + *@brief Weapon upgrade will happen everytime after completing a game wave\n *@brief This function connects class GUI and Weapons to display weapon levels and confirm upgrades */ void weapUpgrade(Gamepad &pad, N5110 &lcd); /**Starting Menu * - *@brief Few strings to be printed on the lcd before starting the game + *@brief Few strings to be printed on the lcd before starting the game\n *@brief Light up LEDs in a knight rider pattern */ void startingMenu(Gamepad &pad, N5110 &lcd);