Package libavg :: Module avg :: Class AnimState

Class AnimState


One state of a StateAnim.

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

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

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

Parameters:
  • name - The name of the state. Used in StateAnim.set/getState().
  • anim - The child animation to run when this state is active.
  • nextName - The name of the state to enter when this state is done.
Overrides: object.__init__