OpenMW
|
Central hub for mw-subsystems. More...
#include <environment.hpp>
Static Public Member Functions | |
static const Environment & | get () |
Return instance of this class. More... | |
Private Member Functions | |
Environment (const Environment &) | |
not implemented More... | |
Environment & | operator= (const Environment &) |
not implemented More... | |
Private Attributes | |
World * | mWorld |
SoundManager * | mSoundManager |
ScriptManager * | mScriptManager |
WindowManager * | mWindowManager |
MechanicsManager * | mMechanicsManager |
DialogueManager * | mDialogueManager |
Journal * | mJournal |
InputManager * | mInputManager |
StateManager * | mStateManager |
float | mFrameDuration |
Static Private Attributes | |
static Environment * | sThis = 0 |
Central hub for mw-subsystems.
This class allows each mw-subsystem to access any others subsystem's top-level manager class.
|
private |
not implemented
MWBase::Environment::Environment | ( | ) |
MWBase::Environment::~Environment | ( | ) |
void MWBase::Environment::cleanup | ( | ) |
Delete all mw*-subsystems.
|
static |
Return instance of this class.
MWBase::DialogueManager * MWBase::Environment::getDialogueManager | ( | ) | const |
float MWBase::Environment::getFrameDuration | ( | ) | const |
MWBase::InputManager * MWBase::Environment::getInputManager | ( | ) | const |
MWBase::Journal * MWBase::Environment::getJournal | ( | ) | const |
MWBase::MechanicsManager * MWBase::Environment::getMechanicsManager | ( | ) | const |
MWBase::ScriptManager * MWBase::Environment::getScriptManager | ( | ) | const |
MWBase::SoundManager * MWBase::Environment::getSoundManager | ( | ) | const |
MWBase::StateManager * MWBase::Environment::getStateManager | ( | ) | const |
MWBase::WindowManager * MWBase::Environment::getWindowManager | ( | ) | const |
MWBase::World * MWBase::Environment::getWorld | ( | ) | const |
|
private |
not implemented
void MWBase::Environment::setDialogueManager | ( | DialogueManager * | dialogueManager | ) |
void MWBase::Environment::setFrameDuration | ( | float | duration | ) |
Set length of current frame in seconds.
void MWBase::Environment::setInputManager | ( | InputManager * | inputManager | ) |
void MWBase::Environment::setJournal | ( | Journal * | journal | ) |
void MWBase::Environment::setMechanicsManager | ( | MechanicsManager * | mechanicsManager | ) |
void MWBase::Environment::setScriptManager | ( | MWBase::ScriptManager * | scriptManager | ) |
void MWBase::Environment::setSoundManager | ( | SoundManager * | soundManager | ) |
void MWBase::Environment::setStateManager | ( | StateManager * | stateManager | ) |
void MWBase::Environment::setWindowManager | ( | WindowManager * | windowManager | ) |
void MWBase::Environment::setWorld | ( | World * | world | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |