Fix naming oversight
This commit is contained in:
parent
d04a0b172c
commit
d55ecef953
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue