parent
6e5dd7eab4
commit
9eb29fc7cc
6
main.py
6
main.py
|
@ -12,7 +12,7 @@ if PLATFORM_SYS == "Windows":
|
||||||
import d3dshot
|
import d3dshot
|
||||||
|
|
||||||
|
|
||||||
class AbstractAutomatableGame(ABC):
|
class AbstractGameIO(ABC):
|
||||||
"""Base class for each platform."""
|
"""Base class for each platform."""
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
@ -31,7 +31,7 @@ class AbstractAutomatableGame(ABC):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class AutomatableGame__Windows(AbstractAutomatableGame):
|
class WindowsGameIO(AbstractGameIO):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(self)
|
super().__init__(self)
|
||||||
self.d = d3dshot.create()
|
self.d = d3dshot.create()
|
||||||
|
@ -43,7 +43,7 @@ class AutomatableGame__Windows(AbstractAutomatableGame):
|
||||||
pass # TODO: Add send_key method
|
pass # TODO: Add send_key method
|
||||||
|
|
||||||
|
|
||||||
class AutomatableGame__Linux(AbstractAutomatableGame):
|
class LinuxGameIO(AbstractAutomatableGame):
|
||||||
"""Base class for each platform."""
|
"""Base class for each platform."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in New Issue