|
@@ -60,6 +60,15 @@ class ManSubject(TileSubject):
|
60
|
60
|
pass
|
61
|
61
|
|
62
|
62
|
class TankSubject(TileSubject):
|
|
63
|
+ def __init__(self, *args, **kwargs) -> None:
|
|
64
|
+ super().__init__(*args, **kwargs)
|
|
65
|
+ # TODO BS 2018-01-26: This coeff will be dependent of real
|
|
66
|
+ # unit type (tiger 2, etc)
|
|
67
|
+ self._global_move_coeff = self.config.resolve(
|
|
68
|
+ 'game.move.subject.tank1.global_move_coeff',
|
|
69
|
+ 3,
|
|
70
|
+ )
|
|
71
|
+
|
63
|
72
|
@property
|
64
|
73
|
def global_move_coeff(self) -> float:
|
65
|
|
- return 3
|
|
74
|
+ return self._global_move_coeff
|