OpenMW
|
Holds temporary state for an actor that will be discarded when the actor leaves the scene. More...
#include <actor.hpp>
Public Member Functions | |
Actor (const MWWorld::Ptr &ptr, MWRender::Animation *animation) | |
void | updatePtr (const MWWorld::Ptr &newPtr) |
Notify this actor of its new base object Ptr, use when the object changed cells. More... | |
CharacterController * | getCharacterController () |
AiState & | getAiState () |
Private Attributes | |
std::auto_ptr < CharacterController > | mCharacterController |
AiState | mAiState |
Holds temporary state for an actor that will be discarded when the actor leaves the scene.
MWMechanics::Actor::Actor | ( | const MWWorld::Ptr & | ptr, |
MWRender::Animation * | animation | ||
) |
AiState & MWMechanics::Actor::getAiState | ( | ) |
CharacterController * MWMechanics::Actor::getCharacterController | ( | ) |
void MWMechanics::Actor::updatePtr | ( | const MWWorld::Ptr & | newPtr | ) |
Notify this actor of its new base object Ptr, use when the object changed cells.
|
private |
|
private |