openmw-tes3coop/components/resource/resourcesystem.cpp

25 lines
419 B
C++
Raw Normal View History

2015-03-26 17:02:51 +00:00
#include "resourcesystem.hpp"
#include "scenemanager.hpp"
namespace Resource
{
ResourceSystem::ResourceSystem(const VFS::Manager *vfs)
: mVFS(vfs)
{
mSceneManager.reset(new SceneManager(vfs));
}
SceneManager* ResourceSystem::getSceneManager()
{
return mSceneManager.get();
}
const VFS::Manager* ResourceSystem::getVFS() const
{
return mVFS;
}
}