Fix naming oversight

This commit is contained in:
Martysh12 2021-12-19 21:34:29 +02:00
parent d04a0b172c
commit d55ecef953
1 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ class AbstractGameIO(ABC):
pass pass
@abstractmethod @abstractmethod
def key_up(self, key: str): def key_down(self, key: str):
"""Lets go of a key on a virtual keyboard.""" """Lets go of a key on a virtual keyboard."""
pass pass
@ -54,7 +54,7 @@ class WindowsGameIO(AbstractGameIO):
def key_up(self, key: str): def key_up(self, key: str):
pass pass
def key_up(self, key: str): def key_down(self, key: str):
pass pass
@ -70,5 +70,5 @@ class LinuxGameIO(AbstractGameIO):
def key_up(self, key: str): def key_up(self, key: str):
pass pass
def key_up(self, key: str): def key_down(self, key: str):
pass pass