Skip to content

Commit 7998d3e

Browse files
committed
Fixing black reported errors
1 parent c793919 commit 7998d3e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

arcade-a-primer/arcade_game.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def setup(self):
9292

9393
def add_enemy(self, delta_time: float):
9494
"""Adds a new enemy to the screen
95-
95+
9696
Arguments:
9797
delta_time {float} -- How much time as passed since the last call
9898
"""
@@ -113,7 +113,7 @@ def add_enemy(self, delta_time: float):
113113

114114
def add_cloud(self, delta_time: float):
115115
"""Adds a new cloud to the screen
116-
116+
117117
Arguments:
118118
delta_time {float} -- How much time has passed since the last call
119119
"""
@@ -137,7 +137,7 @@ def on_key_press(self, symbol, modifiers):
137137
P: Pause the game
138138
I/J/K/L: Move Up, Left, Down, Right
139139
Arrows: Move Up, Left, Down, Right
140-
140+
141141
Arguments:
142142
symbol {int} -- Which key was pressed
143143
modifiers {int} -- Which modifiers were pressed
@@ -165,7 +165,7 @@ def on_key_press(self, symbol, modifiers):
165165

166166
def on_key_release(self, symbol: int, modifiers: int):
167167
"""Undo movement vectors when movement keys are released
168-
168+
169169
Arguments:
170170
symbol {int} -- Which key was pressed
171171
modifiers {int} -- Which modifiers were pressed
@@ -191,7 +191,7 @@ def on_update(self, delta_time: float):
191191
If we're paused, do nothing
192192
Once everything has moved, check for collisions between
193193
the player and the list of enemies
194-
194+
195195
Arguments:
196196
delta_time {float} -- Time since the last update
197197
"""

0 commit comments

Comments
 (0)