OpenMW
Public Member Functions | Private Types | Private Attributes
MWMechanics::Objects Class Reference

#include <objects.hpp>

List of all members.

Public Member Functions

 Objects ()
 ~Objects ()
void addObject (const MWWorld::Ptr &ptr)
 Register an animated object.
void removeObject (const MWWorld::Ptr &ptr)
 Deregister an object.
void updateObject (const MWWorld::Ptr &old, const MWWorld::Ptr &ptr)
 Updates an object with a new Ptr.
void dropObjects (const MWWorld::CellStore *cellStore)
 Deregister all objects in the given cell.
void update (float duration, bool paused)
 Update object animations.
void playAnimationGroup (const MWWorld::Ptr &ptr, const std::string &groupName, int mode, int number)
void skipAnimation (const MWWorld::Ptr &ptr)

Private Types

typedef std::map< MWWorld::Ptr,
CharacterController * > 
PtrControllerMap

Private Attributes

PtrControllerMap mObjects

Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Register an animated object.

Deregister all objects in the given cell.

void MWMechanics::Objects::playAnimationGroup ( const MWWorld::Ptr ptr,
const std::string &  groupName,
int  mode,
int  number 
)

Deregister an object.

void MWMechanics::Objects::update ( float  duration,
bool  paused 
)

Update object animations.

void MWMechanics::Objects::updateObject ( const MWWorld::Ptr old,
const MWWorld::Ptr ptr 
)

Updates an object with a new Ptr.


Member Data Documentation


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