subject.py 405B

12345678910111213141516
  1. # coding: utf-8
  2. from sandbox.tile.const import COLLECTION_ALIVE
  3. from sandbox.tile.simulation.base import BaseSubject
  4. from synergine2_xyz.move import MoveToBehaviour
  5. class Man(BaseSubject):
  6. start_collections = [
  7. COLLECTION_ALIVE,
  8. ]
  9. behaviours_classes = [
  10. MoveToBehaviour,
  11. ]
  12. # TODO: implement (copied from engulf)
  13. # behaviour_selector_class = CellBehaviourSelector