Package rosh :: Package impl :: Module xdot :: Class MoveToAnimation
[frames] | no frames]

Class MoveToAnimation

source code

 object --+        
          |        
  Animation --+    
              |    
LinearAnimation --+
                  |
                 MoveToAnimation
Known Subclasses:

Instance Methods
 
__init__(self, dot_widget, target_x, target_y)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
animate(self, t) source code
 
start(self) (Inherited from rosh.impl.xdot.LinearAnimation) source code
 
stop(self) (Inherited from rosh.impl.xdot.Animation) source code
 
tick(self) (Inherited from rosh.impl.xdot.LinearAnimation) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  duration = 0.6 (Inherited from rosh.impl.xdot.LinearAnimation)
  step = 0.03 (Inherited from rosh.impl.xdot.Animation)
Properties

Inherited from object: __class__

Method Details

__init__(self, dot_widget, target_x, target_y)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

animate(self, t)

source code 
Overrides: LinearAnimation.animate