Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.
Dependencies: mbed
Diff: Alien/Alien.h
- Revision:
- 149:bd0f37008f5a
- Parent:
- 145:e060e890c725
--- a/Alien/Alien.h Thu May 09 12:09:59 2019 +0000 +++ b/Alien/Alien.h Thu May 09 14:13:43 2019 +0000 @@ -6,10 +6,6 @@ #include "N5110.h" - - - - const int alien2[32][32]= { @@ -56,8 +52,8 @@ class Alien { public: - Alien(); - ~Alien(); + Alien(); // constructor + ~Alien(); // destructor /** *@brief initialise an identity for the Alien @@ -79,7 +75,7 @@ void update(Direction d,float mag); /**@brief sitting up the position the of the alien - *@param _pos @details set the position the of the alien in x-cooridante and y-cooridante + *@param _(x,y) @details set the position the of the alien in x-cooridante and y-cooridante */ void set_pos(int x, int y); /**@brief Gets the postion of the y-cooridante @@ -115,10 +111,7 @@ private: - /**member variables - parameters of Alien's class - */ - + /** *@param (_x_alien) a private variable of class Alien that represents the x-cooridante of the alien @@ -141,7 +134,7 @@ int _speed_alien; /** - *@param (_score) a private variable of class Alien that represent by alien + *@param (_score) a private variable of class Alien that represent the scores was achived by alien */ int _score; @@ -151,7 +144,7 @@ bool _alive; /** - *@param(_direcation) a private variable of class Alien that represents of alien + *@param(_direcation) a private variable of class Alien that represents the direction of the alien */ Direction d;