Home | Trees | Index | Help |
|
---|
Package pygext :: Package gl :: Package director :: Module actions |
|
Entity actions
Actions are autonomous mutators for Entity objects that can be chained to easily program movement and animation behavior.Classes | |
---|---|
Action |
Abstract base class for actions |
AlphaFade |
|
Animate |
Animate the current entity |
Blink |
Alternate the entity between hidden and visible state |
CallFunc |
Call a function |
CallFuncE |
Call a function with the current entity as first parameter |
ColorFade |
Smoothly fade the entity from current color to a new color |
Delay |
Delay for x seconds |
Delete |
Delete the current entity |
Fork |
Fork a new action |
Hide |
Hide the current entity |
IntervalAction |
Abstract base class for linear actions. |
Move |
Move the current entity with the given velocity |
MoveDelta |
Move the current entity by the given x,y delta |
MoveForward |
|
MoveTo |
Move the current entity to the given x,y position |
PingPongMode |
|
RealTickFunc |
|
Repeat |
Repeat an action several times |
RepeatMode |
|
Rotate |
Rotate the current entity with a given speed |
RotateDelta |
Rotate the current entity by the given degrees |
Scale |
Enlarge or shrink the current entity |
SetAttr |
Set an attribute in the current entity |
SetScene |
Transition to a new Scene |
SetState |
Set the state of the current Scene |
Show |
Show the current entity |
StopMode |
|
TickFunc |
Function Summary | |
---|---|
Creates a new entity that plays the given animation, then deletes itself. |
Function Details |
---|
CreateAnim(layer, x, y, frames, secs)Creates a new entity that plays the given animation, then deletes itself. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jun 12 18:21:21 2006 | http://epydoc.sf.net |