FeatherMC/src/world/WorldManager.cpp

17 lines
267 B
C++
Raw Permalink Normal View History

2020-08-07 05:48:54 +01:00
#include "Common.h"
#include "WorldManager.h"
#include <filesystem>
#include <iostream>
namespace fs = std::filesystem;
namespace Feather
{
void WorldManager::LoadWorld(string name)
{
2020-08-14 02:41:05 +01:00
world = new World(name);
world->PrepareSpawn();
2020-08-07 05:48:54 +01:00
}
}