Ejemplo n.º 1
0
 def __init__(self, window, canvas, timestep=10):
     Thread.__init__(self)
     self.canvas = canvas
     self.daemon = True
     self.window = window
     self.core = Physics.PhysicsMotor()
     self.core.setTimestep(timestep)
     self.elements = dict()
     self.dispensers = list()
     self.running = False
Ejemplo n.º 2
0
 def __init__(self):
     self.core = Physics.PhysicsMotor()
     self.core.setTimestep(10)