21 lines
321 B
Python
21 lines
321 B
Python
from abc import abstractmethod
|
|
|
|
|
|
|
|
class GameHandler:
|
|
def __init__(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def run(self) -> None:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def on_position_update(self) -> None:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def on_input_request(self) -> str:
|
|
pass
|
|
|
|
|