Fox-V3/conquest/conquestgame.py
2020-10-06 17:36:36 -04:00

20 lines
540 B
Python

import pathlib
from conquest.regioner import ConquestMap
class ConquestGame:
def __init__(self, map_path: pathlib.Path, game_name: str, custom_map_path: pathlib.Path):
super().__init__(custom_map_path / game_name)
self.blank_map = ConquestMap(map_path)
self.game_name = game_name
self.custom_map_path = custom_map_path
async def save_region(self, region):
if not self.custom:
return False
pass # TODO: region data saving
async def start_game(self):
pass