Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arcade/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def show_view(self, new_view: 'View'):
"""
if not isinstance(new_view, View):
raise ValueError("Must pass an arcade.View object to "
"Window.show_view()")
f"Window.show_view() {type(new_view)}")

# Store the Window that is showing the "new_view" View.
if new_view.window is None:
Expand Down
4 changes: 2 additions & 2 deletions arcade/examples/transitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def on_draw(self):

def on_key_press(self, key, _modifiers):
""" Handle key presses. In this case, we'll just count a 'space' as
game over and advance to the game over view. """
game over and advance to the game overview. """
if key == arcade.key.SPACE:
self.fade_out = 0

Expand All @@ -110,7 +110,7 @@ def on_show_view(self):
self.background_color = arcade.color.BLACK

def on_draw(self):
""" Draw the game over view """
""" Draw the game overview """
self.clear()
arcade.draw_text("Game Over - press SPACE to advance", WIDTH / 2, HEIGHT / 2,
arcade.color.WHITE, 30, anchor_x="center")
Expand Down