Pheromon.py 470B

123456789101112131415
  1. from xyzworld.SynergyObject import SynergyObject as XyzSynergyObject
  2. # TODO: ne doit plus exister. Il est la pour le display uniquement. (pheromones ne sont pas des entites)
  3. class Pheromon(XyzSynergyObject):
  4. def __init__(self, collection, context):
  5. super().__init__(collection, context)
  6. self._direction = None
  7. def set_direction(self, direction):
  8. self._direction = direction
  9. def get_direction(self):
  10. return self._direction