diff --git a/exercises/concept/ellens-alien-game/classes.py b/exercises/concept/ellens-alien-game/classes.py index a9a3d1edae..f3fbe84383 100644 --- a/exercises/concept/ellens-alien-game/classes.py +++ b/exercises/concept/ellens-alien-game/classes.py @@ -4,22 +4,22 @@ class Alien: """Create an Alien object with location x_coordinate and y_coordinate. - Attributes - ---------- - (class)total_aliens_created: int - x_coordinate: int - Position on the x-axis. - y_coordinate: int - Position on the y-axis. - health: int - Number of health points. - - Methods - ------- - hit(): Decrement Alien health by one point. - is_alive(): Return a boolean for if Alien is alive (if health is > 0). - teleport(new_x_coordinate, new_y_coordinate): Move Alien object to new coordinates. - collision_detection(other): Implementation TBD. + Attributes: + (class) total_aliens_created (int): Total number of Alien instances. + x_coordinate (int): Position on the x-axis. + y_coordinate (int): Position on the y-axis. + health (int): Number of health points. + + Methods: + hit(): Decrement Alien health by one point. + is_alive(): Return a boolean for if Alien is alive (if health is > 0). + teleport(new_x_coordinate, new_y_coordinate): Move Alien object to new coordinates. + collision_detection(other): Implementation TBD. + """ pass -#TODO: create the new_aliens_collection() function below to call your Alien class with a list of coordinates. +#TODO (Student): Create the new_aliens_collection() function below to call your Alien class with a list of coordinates +