Package pygext :: Package gl :: Package director :: Module actions :: Class IntervalAction
[frames | no frames]

Type IntervalAction

object --+    
         |    
    Action --+
             |
            IntervalAction

Known Subclasses:
ColorFade, MoveDelta, RotateDelta, Scale

Abstract base class for linear actions.

"Interval" action means an action that has a clearly defined beginning and ending point, so that it can be repeated. The repeat modes are:

StopMode - Don't repeat. Stop after first round. RepeatMode - Repeat from beginning. PingPongMode - Every other repetition is done backwards (useful for animations and movement)
Method Summary
  action(self)
Called once per tick to perform the action action.
  smooth(self, fadein, fadeout)
  start(self)
Called when the action is initiated on an entity.
    Inherited from Action
  __init__(self, *arg, **kw)
  __add__(self, action)
  __iadd__(self, action)
  __radd__(self, action)
  __repr__(self)
  abort(self)
End this action immediately and do NOT continue to the next in chain.
  chain(self, action, **kw)
Chain a new action that will be started when this action ends.
  cleanup(self)
Called when the action ends.
  do(self, entity, **kw)
Perform this action for an entity or node.
  end(self)
End this action and proceed to the next one in chain.
  endwith(self, action)
Limit this action by another action.
  init(self)
Called when the action object is created.
  limit(self, time, area)
Set the ending criteria fod this action.
  tick(self)

Class Variable Summary
NoneType fadein = None                                                                  
NoneType fadeout = None                                                                  

Method Details

action(self)

Called once per tick to perform the action action. Override in subclass.
Overrides:
pygext.gl.director.actions.Action.action (inherited documentation)

start(self)

Called when the action is initiated on an entity. Override in subclass.
Overrides:
pygext.gl.director.actions.Action.start (inherited documentation)

Class Variable Details

fadein

Type:
NoneType
Value:
None                                                                  

fadeout

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Mon Jun 12 18:21:21 2006 http://epydoc.sf.net