From d55ecef95355fd342a8fcc9befb4b32b819430ec Mon Sep 17 00:00:00 2001 From: Martysh12 <49569238+Martysh12@users.noreply.github.com> Date: Sun, 19 Dec 2021 21:34:29 +0200 Subject: [PATCH] Fix naming oversight --- gameio.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gameio.py b/gameio.py index 0ac2584..4a8cf34 100644 --- a/gameio.py +++ b/gameio.py @@ -33,7 +33,7 @@ class AbstractGameIO(ABC): pass @abstractmethod - def key_up(self, key: str): + def key_down(self, key: str): """Lets go of a key on a virtual keyboard.""" pass @@ -54,7 +54,7 @@ class WindowsGameIO(AbstractGameIO): def key_up(self, key: str): pass - def key_up(self, key: str): + def key_down(self, key: str): pass @@ -70,5 +70,5 @@ class LinuxGameIO(AbstractGameIO): def key_up(self, key: str): pass - def key_up(self, key: str): + def key_down(self, key: str): pass