Browse Source

rename func

Bastien Sevajol 5 years ago
parent
commit
47a14d5732
1 changed files with 2 additions and 2 deletions
  1. 2 2
      opencombat/strategy/troops.py

+ 2 - 2
opencombat/strategy/troops.py View File

@@ -32,11 +32,11 @@ class Troop(object):
32 32
     @property
33 33
     def subjects(self) -> typing.List[TileSubject]:
34 34
         if self._subjects is None:
35
-            self._subjects = self.get_computed_subjects()
35
+            self._subjects = self._get_computed_subjects()
36 36
 
37 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 40
         units_file_path = self._config.get(
41 41
             'global.units',
42 42
             'opencombat/strategy/units.xml',