From 5bbc2d3008910bb9c1f9eb07d7dde5bda8aa52f4 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 12 Nov 2021 13:22:08 +0100 Subject: Expect pygame.surface.Surface rather than pygame.Surface for screen Signed-off-by: Olivier Gayot --- pycameltris/screens/Pause.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pycameltris/screens/Pause.py') diff --git a/pycameltris/screens/Pause.py b/pycameltris/screens/Pause.py index 885b7f6..766a45c 100644 --- a/pycameltris/screens/Pause.py +++ b/pycameltris/screens/Pause.py @@ -15,7 +15,7 @@ def handle_input_pressed(controller: Controller, event: pygame.event.Event): class Pause(Screen): - def __init__(self, screen: pygame.Surface): + def __init__(self, screen: pygame.surface.Surface): self.event_handler: dict[int, Callable[[pygame.event.Event], None]] = {} def exit(_) -> NoReturn: -- cgit v1.2.3