1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00
OpenMW/apps/openmw/mwworld/environment.hpp

48 lines
835 B
C++
Raw Normal View History

2010-07-04 10:43:34 +02:00
#ifndef GAME_WORLD_INVIRONMENT_H
#define GAME_WORLD_INVIRONMENT_H
namespace MWSound
{
class SoundManager;
}
namespace MWScript
{
class GlobalScripts;
}
namespace MWGui
{
class WindowManager;
}
namespace MWMechanics
{
class MechanicsManager;
}
2010-07-04 10:43:34 +02:00
namespace MWWorld
{
class World;
///< Collection of script-accessable sub-systems
class Environment
2010-07-04 10:43:34 +02:00
{
public:
Environment()
: mWorld (0), mSoundManager (0), mGlobalScripts (0), mWindowManager (0),
mMechanicsManager (0), mFrameDuration (0)
{}
2010-07-07 09:46:11 +02:00
2010-07-04 10:43:34 +02:00
World *mWorld;
MWSound::SoundManager *mSoundManager;
MWScript::GlobalScripts *mGlobalScripts;
MWGui::WindowManager *mWindowManager;
MWMechanics::MechanicsManager *mMechanicsManager;
2010-07-06 12:06:50 +02:00
float mFrameDuration;
2010-07-04 10:43:34 +02:00
};
}
#endif