OpenMW
|
#include <objects.hpp>
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 |
typedef std::map<MWWorld::Ptr,CharacterController*> MWMechanics::Objects::PtrControllerMap [private] |
void MWMechanics::Objects::addObject | ( | const MWWorld::Ptr & | ptr | ) |
Register an animated object.
void MWMechanics::Objects::dropObjects | ( | const MWWorld::CellStore * | cellStore | ) |
Deregister all objects in the given cell.
void MWMechanics::Objects::playAnimationGroup | ( | const MWWorld::Ptr & | ptr, |
const std::string & | groupName, | ||
int | mode, | ||
int | number | ||
) |
void MWMechanics::Objects::removeObject | ( | const MWWorld::Ptr & | ptr | ) |
Deregister an object.
void MWMechanics::Objects::skipAnimation | ( | const MWWorld::Ptr & | ptr | ) |
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.