ELEC2645 (2018/19) / Mbed 2 deprecated ll16o2l_ELEC2645

Dependencies:   mbed Gamepad

Revision:
15:807eba7c7811
Parent:
3:aa82968b7a8e
--- a/Player/Player.cpp	Sun May 05 11:25:08 2019 +0000
+++ b/Player/Player.cpp	Tue May 07 18:01:54 2019 +0000
@@ -11,13 +11,6 @@
 
 }
 
-/**
-*   This method will be used to initialise the player variables.
-*   Saves global variable values to local variables.
-*   @author Oliver Luong
-*   @param player_height, player_width
-*   @date 22/04/2019
-*/
 void Player::init(int player_height,int player_width)
 {
     // Initialise at the centre
@@ -31,12 +24,6 @@
     _speed = 1;  // default speed
 }
 
-/**
-*   This method will be used to store the sprite for player and draw it
-*   onto the LCD.
-*   @author Oliver Luong
-*   @date 22/04/2019
-*/
 void Player::draw(N5110 &lcd)
 {
     int Player_sprite[14][14] = {
@@ -60,13 +47,6 @@
     lcd.drawSprite(_x, _y, _player_height, _player_width,(int *)Player_sprite);
 }
 
-/**
-*   This method will be used to update the positioning of 
-*   the player in one of 8 directions.
-*   @author Oliver Luong
-*   @param d, mag
-*   @date 22/04/2019
-*/
 void Player::update(Direction d, float mag)
 {
     _speed = int(mag*10.0f);  // scale is arbitrary, could be changed in future