remove behavior from abstract base method
This commit is contained in:
parent
9eb29fc7cc
commit
1720ee3bbc
2
main.py
2
main.py
|
@ -23,7 +23,7 @@ class AbstractGameIO(ABC):
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def fetch_sshot(self):
|
def fetch_sshot(self):
|
||||||
"""Creates a screenshot, and returns it in Pillow format."""
|
"""Creates a screenshot, and returns it in Pillow format."""
|
||||||
return pyautogui.screenshot(region=self.loc)
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def send_key(self, key: str):
|
def send_key(self, key: str):
|
||||||
|
|
Loading…
Reference in New Issue