further WIP
This commit is contained in:
parent
4457d51f07
commit
4496903663
@ -13,7 +13,7 @@ from redbot.core.bot import Red
|
|||||||
from redbot.core.data_manager import bundled_data_path, cog_data_path
|
from redbot.core.data_manager import bundled_data_path, cog_data_path
|
||||||
from redbot.core.utils.predicates import MessagePredicate
|
from redbot.core.utils.predicates import MessagePredicate
|
||||||
|
|
||||||
from conquest.regioner import ConquestGame, ConquestMap, MapMaker, composite_regions
|
from conquest.regioner import ConquestMap, MapMaker, composite_regions
|
||||||
|
|
||||||
|
|
||||||
class Conquest(commands.Cog):
|
class Conquest(commands.Cog):
|
||||||
|
@ -5,7 +5,6 @@ from conquest.regioner import ConquestMap
|
|||||||
|
|
||||||
class ConquestGame:
|
class ConquestGame:
|
||||||
def __init__(self, map_path: pathlib.Path, game_name: str, custom_map_path: pathlib.Path):
|
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.blank_map = ConquestMap(map_path)
|
||||||
self.game_name = game_name
|
self.game_name = game_name
|
||||||
self.custom_map_path = custom_map_path
|
self.custom_map_path = custom_map_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user