File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
44class Alien :
55 """
6- Create an Alien object with location x_coordinate and y_coordinate .
6+ Alien located at given coordinates .
77
88 Attributes
99 ----------
@@ -17,7 +17,8 @@ class Alien:
1717 -------
1818 hit(): Decrement Alien health by one point.
1919 is_alive(): Return a boolean for if Alien is alive (if health is > 0).
20- teleport(new_x_coordinate, new_y_coordinate): Move Alien object to new coordinates.
20+ teleport(new_x_coordinate, new_y_coordinate): Move Alien object
21+ to new coordinates.
2122 collision_detection(other): Implementation TBD.
2223 """
2324
@@ -47,7 +48,7 @@ def new_aliens_collection(
4748 alien_start_positions : list [tuple [int , int ]],
4849) -> list :
4950 """
50- Creates a list of Alien() objects, given a list of positions (as tuples) .
51+ Create a list of Alien objects from starting positions.
5152
5253 :param alien_start_positions: given a list of positions
5354 :return: a list of Alien() objects
You can’t perform that action at this time.
0 commit comments