def movable(self, val): if not self._dynamic: self._movable = val if val: MathApp._addMovable(self) else: MathApp._removeMovable(self)
def destroy(self): MathApp._removeVisual(self) MathApp._removeMovable(self) MathApp._removeStrokable(self) _MathDynamic.destroy(self) Sprite.destroy(self)