Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.
Dependencies: mbed
Diff: Alien/Alien.cpp
- Revision:
- 141:02858e82c9cc
- Parent:
- 139:c46a2cef7e09
- Child:
- 142:92f277a3e7e6
--- a/Alien/Alien.cpp Thu May 09 06:23:33 2019 +0000 +++ b/Alien/Alien.cpp Thu May 09 06:46:27 2019 +0000 @@ -57,14 +57,14 @@ -int Alien::get_pos_x() // to get the position of the alien at x_cooridante. +int Alien::get_pos_x() // to get the position of the alien at x_cooridante . { - return _x_alien; //x_corridante of the alien. + return _x_alien; // retutn x_corridante of the alien in integer. } int Alien::get_pos_y() //function to get the position of the alien at y_cooridante. { - return _y_alien; + return _y_alien; // retutn y_corridante of the alien in integer. }