Fix naming oversight
This commit is contained in:
parent
d04a0b172c
commit
d55ecef953
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue