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)
|