|
|
|
|
32
|
@property
|
32
|
@property
|
33
|
def subjects(self) -> typing.List[TileSubject]:
|
33
|
def subjects(self) -> typing.List[TileSubject]:
|
34
|
if self._subjects is None:
|
34
|
if self._subjects is None:
|
35
|
- self._subjects = self.get_computed_subjects()
|
|
|
|
|
35
|
+ self._subjects = self._get_computed_subjects()
|
36
|
|
36
|
|
37
|
return self._subjects
|
37
|
return self._subjects
|
38
|
|
38
|
|
39
|
- def get_computed_subjects(self) -> typing.List[TileSubject]:
|
|
|
|
|
39
|
+ def _get_computed_subjects(self) -> typing.List[TileSubject]:
|
40
|
units_file_path = self._config.get(
|
40
|
units_file_path = self._config.get(
|
41
|
'global.units',
|
41
|
'global.units',
|
42
|
'opencombat/strategy/units.xml',
|
42
|
'opencombat/strategy/units.xml',
|