Exemplo n.º 1
0
 def movable(self, val):
     if not self._dynamic:
         self._movable = val
         if val:
             MathApp._addMovable(self)
         else:
             MathApp._removeMovable(self)
Exemplo n.º 2
0
 def destroy(self):
     MathApp._removeVisual(self)
     MathApp._removeMovable(self)
     MathApp._removeStrokable(self)
     _MathDynamic.destroy(self)
     Sprite.destroy(self)