Exemple #1
0
 def __init__(self, simulation, brain, host):
   plant_piece = PlantPiece()
   Take.__init__(self, simulation, brain, host, plant_piece)
   simulation.termites_simulator.addNewObjectToSimulation(self.host.getPosition(), plant_piece)
Exemple #2
0
 def do(self):
   Take.do(self)
   self.brain.connectToTrace('PlantPiecesRoad', self.simulation, 1)