diff --git a/pocket_friends/elements/surface.py b/pocket_friends/elements/surface.py index 69a387c..b9f2465 100644 --- a/pocket_friends/elements/surface.py +++ b/pocket_friends/elements/surface.py @@ -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: diff --git a/pocket_friends/surfaces/title.py b/pocket_friends/surfaces/title.py index a98ed09..aaa325c 100644 --- a/pocket_friends/surfaces/title.py +++ b/pocket_friends/surfaces/title.py @@ -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: