def attach_physics(self): styler = PSOStyler() for pso, blocktype in zip(self.curr_psos, self.curr_blocktypes): styler.apply(pso, self.stimtype, blocktype=blocktype, kappa=self.kappa) Viewer.attach_physics(self)
def attach_physics(self): styler = PSOStyler() for pso in self.curr_psos: styler.apply(pso, self.stimtype) Viewer.attach_physics(self)
def attach_physics(self): styler = PSOStyler() for pso in self.curr_psos: styler.apply(pso, self.stimtype) Viewer.attach_physics(self)