|
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 () |
Private Attributes | |
| std::unique_ptr < CharacterController > | mCharacterController |
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 | ||
| ) |
| 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 |
1.8.6