stash.py 496B

123456789101112131415161718192021222324
  1. # coding: utf-8
  2. import typing
  3. from synergine2.config import Config
  4. from opencombat.strategy.unit.model import TeamModel
  5. class TeamStash(object):
  6. def __init__(
  7. self,
  8. config: Config,
  9. teams_file_path: str,
  10. ) -> None:
  11. self._confg = config
  12. # TODO Load xml, validate
  13. self._teams = None # typing.List[TeamModel]
  14. def get_teams(self) -> typing.List[TeamModel]:
  15. pass
  16. def get_team(self, unit_id: str) -> TeamModel:
  17. pass