fixed incorrect game_res type in documentation

This commit is contained in:
Nicholas Dyer 2023-05-15 01:04:33 -04:00
parent 680a2cab75
commit 9fd2bc03df
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class GameSurface(pygame.Surface):
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.
"""
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.
Args:

View File

@ -7,7 +7,7 @@ class Surface(surface.GameSurface):
"""
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
Args: