Skip to content

Commit af46195

Browse files
committed
Updating docstring for Platformer
1 parent e2f6f69 commit af46195

File tree

9 files changed

+19
-18
lines changed

9 files changed

+19
-18
lines changed

arcade-platformer/arcade_platformer/01_game_skeleton.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
# Classes
1515
class Platformer(arcade.Window):
16-
"""Platformer class. Derived from arcade.Window, provides all functionality
17-
for our game.
16+
"""Platformer class. Derived from arcade.Window,
17+
manages different aspects of the game.
1818
"""
1919

2020
def __init__(self):

arcade-platformer/arcade_platformer/02_open_game_window.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
# Classes
2626
class Platformer(arcade.Window):
27-
"""PlatformerView class. Derived from arcade.View, provides all functionality
28-
from arcade.Window, plus managing different views for our game.
27+
"""Platformer class. Derived from arcade.Window,
28+
manages different aspects of the game.
2929
"""
3030

3131
def __init__(self) -> None:

arcade-platformer/arcade_platformer/03_read_level_one.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
# Classes
3434
class Platformer(arcade.Window):
35-
"""PlatformerView class. Derived from arcade.View, provides all functionality
36-
from arcade.Window, plus managing different views for our game.
35+
"""Platformer class. Derived from arcade.Window,
36+
manages different aspects of the game.
3737
"""
3838

3939
def __init__(self) -> None:

arcade-platformer/arcade_platformer/04_define_player.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
# Classes
3434
class Platformer(arcade.Window):
35-
"""PlatformerView class. Derived from arcade.View, provides all functionality
36-
from arcade.Window, plus managing different views for our game.
35+
"""Platformer class. Derived from arcade.Window,
36+
manages different aspects of the game.
3737
"""
3838

3939
def __init__(self) -> None:

arcade-platformer/arcade_platformer/05_update_and_draw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
# Classes
3434
class Platformer(arcade.Window):
35-
"""PlatformerView class. Derived from arcade.View, provides all functionality
36-
from arcade.Window, plus managing different views for our game.
35+
"""Platformer class. Derived from arcade.Window,
36+
manages different aspects of the game.
3737
"""
3838

3939
def __init__(self) -> None:

arcade-platformer/arcade_platformer/06_keyboard_movement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434

3535
# Classes
3636
class Platformer(arcade.Window):
37-
"""PlatformerView class. Derived from arcade.View, provides all functionality
38-
from arcade.Window, plus managing different views for our game.
37+
"""Platformer class. Derived from arcade.Window,
38+
manages different aspects of the game.
3939
"""
4040

4141
def __init__(self) -> None:

arcade-platformer/arcade_platformer/07_scrolling_view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
# Classes
4343
class Platformer(arcade.Window):
44-
"""PlatformerView class. Derived from arcade.View, provides all functionality
45-
from arcade.Window, plus managing different views for our game.
44+
"""Platformer class. Derived from arcade.Window,
45+
manages different aspects of the game.
4646
"""
4747

4848
def __init__(self) -> None:

arcade-platformer/arcade_platformer/08_on_screen_score.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141

4242
# Classes
4343
class Platformer(arcade.Window):
44-
"""PlatformerView class. Derived from arcade.View, provides all functionality
45-
from arcade.Window, plus managing different views for our game.
44+
"""Platformer class. Derived from arcade.Window,
45+
manages different aspects of the game.
4646
"""
4747

4848
def __init__(self) -> None:
@@ -391,6 +391,7 @@ def on_draw(self) -> None:
391391
font_size=40,
392392
)
393393

394+
394395
# Main
395396
if __name__ == "__main__":
396397
window = Platformer()

arcade-platformer/arcade_platformer/09_joystick_control.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444

4545
# Classes
4646
class Platformer(arcade.Window):
47-
"""PlatformerView class. Derived from arcade.View, provides all functionality
48-
from arcade.Window, plus managing different views for our game.
47+
"""Platformer class. Derived from arcade.Window,
48+
manages different aspects of the game.
4949
"""
5050

5151
def __init__(self) -> None:

0 commit comments

Comments
 (0)