Colony.py 663B

1234567891011121314
  1. from synergine.synergy.collection.SynergyCollection import SynergyCollection
  2. from intelligine.synergy.event.move.MoveAction import MoveAction
  3. from intelligine.synergy.event.attack.NearAttackableAction import NearAttackableAction
  4. from intelligine.synergy.event.transport.TakeableAction import TakeableAction
  5. from intelligine.synergy.event.transport.PutableAction import PutableAction
  6. from intelligine.synergy.event.CycleAction import CycleAction
  7. class Colony(SynergyCollection):
  8. def __init__(self, configuration):
  9. super().__init__(configuration)
  10. self._actions = [MoveAction, NearAttackableAction, TakeableAction, PutableAction, CycleAction]