fixed incorrect game_res type in documentation
This commit is contained in:
parent
680a2cab75
commit
9fd2bc03df
@ -20,7 +20,7 @@ class GameSurface(pygame.Surface):
|
|||||||
additional_args: Dictionary of additional arguments to send to the next surface after halting.
|
additional_args: Dictionary of additional arguments to send to the next surface after halting.
|
||||||
background: A Pygame surface that will be drawn behind all other elements.
|
background: A Pygame surface that will be drawn behind all other elements.
|
||||||
"""
|
"""
|
||||||
def __init__(self, game_res: int, resources_dir: str, game_fps: int):
|
def __init__(self, game_res: tuple, resources_dir: str, game_fps: int):
|
||||||
"""
|
"""
|
||||||
Create a GameSurface object.
|
Create a GameSurface object.
|
||||||
Args:
|
Args:
|
||||||
|
@ -7,7 +7,7 @@ class Surface(surface.GameSurface):
|
|||||||
"""
|
"""
|
||||||
Surface object for the title screen.
|
Surface object for the title screen.
|
||||||
"""
|
"""
|
||||||
def __init__(self, game_res, resources_dir, game_fps):
|
def __init__(self, game_res: tuple, resources_dir: str, game_fps: int):
|
||||||
"""
|
"""
|
||||||
Create a title screen surface object
|
Create a title screen surface object
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user