FeatherMC/src/world/WorldManager.cpp

17 lines
267 B
C++

#include "Common.h"
#include "WorldManager.h"
#include <filesystem>
#include <iostream>
namespace fs = std::filesystem;
namespace Feather
{
void WorldManager::LoadWorld(string name)
{
world = new World(name);
world->PrepareSpawn();
}
}