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

Type Fork

object --+    
         |    
    Action --+
             |
            Fork


Fork a new action

Usually chained actions wait for the previous action to end before activating, but Fork can be used to trigger an action and then immediately move to the next action in the chain.
Method Summary
  init(self)
Called when the action object is created.
  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.
  action(self)
Called once per tick to perform the action action.
  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.
  limit(self, time, area)
Set the ending criteria fod this action.
  tick(self)

Method Details

init(self, *actions)

Called when the action object is created. Override in subclass.
Overrides:
pygext.gl.director.actions.Action.init (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)

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