linux-mod-manager/lmm/runners/runner.py

15 lines
277 B
Python
Raw Permalink Normal View History

2023-12-02 16:45:16 +00:00
import abc
from lmm.games.game import Game
2023-12-02 16:46:48 +00:00
2023-12-02 16:45:16 +00:00
class Runner(abc.ABC):
# Type identifier of the runner.
runner_type: str
def __init__(self, runner_type: str):
self.runner_type = runner_type
def run(self, game: Game):
2023-12-02 16:46:48 +00:00
raise NotImplementedError()