OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MWMechanics::Actor Class Reference

Holds temporary state for an actor that will be discarded when the actor leaves the scene. More...

#include <actor.hpp>

Collaboration diagram for MWMechanics::Actor:

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...
 
CharacterControllergetCharacterController ()
 
AiStategetAiState ()
 

Private Attributes

std::auto_ptr
< CharacterController
mCharacterController
 
AiState mAiState
 

Detailed Description

Holds temporary state for an actor that will be discarded when the actor leaves the scene.

Constructor & Destructor Documentation

MWMechanics::Actor::Actor ( const MWWorld::Ptr ptr,
MWRender::Animation animation 
)

Member Function Documentation

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.

Here is the caller graph for this function:

Member Data Documentation

AiState MWMechanics::Actor::mAiState
private
std::auto_ptr<CharacterController> MWMechanics::Actor::mCharacterController
private

The documentation for this class was generated from the following files: