1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 19:19:55 +00:00
openmw-tes3mp/components/resource/resourcesystem.cpp
2015-03-26 18:02:51 +01:00

24 lines
419 B
C++

#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;
}
}