◆ init()
bool Ultima::Ultima8::AnimationTracker::init |
( |
const Actor * |
actor, |
|
|
Animation::Sequence |
action, |
|
|
Direction |
dir, |
|
|
const PathfindingState * |
state = 0 |
|
) |
| |
initialize the AnimationTracker for the given actor, action, dir if state is non-zero, start from that state instead of the Actor's current state
◆ evaluateMaxAnimTravel()
void Ultima::Ultima8::AnimationTracker::evaluateMaxAnimTravel |
( |
int32 & |
max_endx, |
|
|
int32 & |
max_endy, |
|
|
Direction |
dir |
|
) |
| |
evaluate the maximum distance the actor will travel if the current animation runs to completion by incremental calls to step
◆ step()
bool Ultima::Ultima8::AnimationTracker::step |
( |
| ) |
|
do a single step of the animation returns true if everything ok, false if not caller must decide if animation should continue after a 'false'
◆ stepFrom()
bool Ultima::Ultima8::AnimationTracker::stepFrom |
( |
const Point3 & |
pt | ) |
|
do a single step of the animation, starting at the point returns true if everything ok, false if not caller must decide if animation should continue after a 'false'
The documentation for this class was generated from the following file: