1 #ifndef GAME_BASE_ENVIRONMENT_H
2 #define GAME_BASE_ENVIRONMENT_H
11 class MechanicsManager;
Interface for dialogue manager (implemented in MWDialogue)
Definition: dialoguemanager.hpp:27
void setStateManager(StateManager *stateManager)
Definition: environment.cpp:72
void setWindowManager(WindowManager *windowManager)
Definition: environment.cpp:47
World * getWorld() const
Definition: environment.cpp:82
Interface for the World (implemented in MWWorld)
Definition: world.hpp:77
StateManager * mStateManager
Definition: environment.hpp:34
World * mWorld
Definition: environment.hpp:26
Interface for the player's journal (implemented in MWDialogue)
Definition: journal.hpp:28
WindowManager * getWindowManager() const
Definition: environment.cpp:100
Central hub for mw-subsystems.
Definition: environment.hpp:22
SoundManager * mSoundManager
Definition: environment.hpp:27
SoundManager * getSoundManager() const
Definition: environment.cpp:88
MechanicsManager * getMechanicsManager() const
Definition: environment.cpp:106
static Environment * sThis
Definition: environment.hpp:24
ScriptManager * mScriptManager
Definition: environment.hpp:28
Journal * getJournal() const
Definition: environment.cpp:118
ScriptManager * getScriptManager() const
Definition: environment.cpp:94
InputManager * mInputManager
Definition: environment.hpp:33
Environment & operator=(const Environment &)
not implemented
float mFrameDuration
Definition: environment.hpp:35
float getFrameDuration() const
Definition: environment.cpp:136
Environment()
Definition: environment.cpp:17
void setDialogueManager(DialogueManager *dialogueManager)
Definition: environment.cpp:57
void setInputManager(InputManager *inputManager)
Definition: environment.cpp:67
Interface for game state manager (implemented in MWState)
Definition: statemanager.hpp:16
Journal * mJournal
Definition: environment.hpp:32
Interface for widnow manager (implemented in MWGui)
Definition: windowmanager.hpp:85
void setScriptManager(MWBase::ScriptManager *scriptManager)
Definition: environment.cpp:42
Interface for script manager (implemented in MWScript)
Definition: scriptmanager.hpp:24
DialogueManager * getDialogueManager() const
Definition: environment.cpp:112
Interface for sound manager (implemented in MWSound)
Definition: soundmanager.hpp:29
void setWorld(World *world)
Definition: environment.cpp:32
StateManager * getStateManager() const
Definition: environment.cpp:130
void setFrameDuration(float duration)
Set length of current frame in seconds.
Definition: environment.cpp:77
InputManager * getInputManager() const
Definition: environment.cpp:124
Interface for game mechanics manager (implemented in MWMechanics)
Definition: mechanicsmanager.hpp:38
void setJournal(Journal *journal)
Definition: environment.cpp:62
void cleanup()
Delete all mw*-subsystems.
Definition: environment.cpp:141
MechanicsManager * mMechanicsManager
Definition: environment.hpp:30
DialogueManager * mDialogueManager
Definition: environment.hpp:31
WindowManager * mWindowManager
Definition: environment.hpp:29
void setMechanicsManager(MechanicsManager *mechanicsManager)
Definition: environment.cpp:52
void setSoundManager(SoundManager *soundManager)
Definition: environment.cpp:37
~Environment()
Definition: environment.cpp:26