Colony.py 768B

12345678910111213141516
  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. from intelligine.synergy.event.pheromone.ApposeDirection import ApposeDirection
  8. class Colony(SynergyCollection):
  9. def __init__(self, configuration):
  10. super().__init__(configuration)
  11. self._actions = [MoveAction, NearAttackableAction, TakeableAction, PutableAction,
  12. CycleAction]