You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
540 B
20 lines
540 B
4 years ago
|
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
|