| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from synergine.synergy.collection.SynergyCollection import SynergyCollection |
||
| 10 | class Colony(SynergyCollection): |
||
| 11 | |||
| 12 | def __init__(self, configuration): |
||
| 13 | super().__init__(configuration) |
||
| 14 | self._actions = [MoveAction, NearAttackableAction, TakeableAction, PutableAction, |
||
| 15 | CycleAction, PutOutsideAction] |
||
| 16 | self._start_position = configuration.get_start_position() |
||
| 17 | |||
| 18 | def get_start_position(self): |
||
| 19 | return self._start_position |