Lodestone.Minecraft.Common
Loading...
Searching...
No Matches
projects
Converters
Minecraft
Common
include
Lodestone.Minecraft.Common
world
MinecraftWorld.h
Go to the documentation of this file.
1
//
2
// Created by DexrnZacAttack on 11/22/25 using zPc-i2.
3
//
4
#ifndef LODESTONE_MINECRAFTWORLD_H
5
#define LODESTONE_MINECRAFTWORLD_H
6
#include <
Lodestone.Level/world/World.h
>
7
8
#include "
Lodestone.Minecraft.Common/world/data/LevelData.h
"
9
10
namespace
lodestone::minecraft::common::world
{
11
template
<
typename
LD = data::LevelData>
12
requires
std::is_base_of_v<data::LevelData, LD>
13
class
MinecraftWorld
:
public
level::world::World
{
14
public
:
15
explicit
MinecraftWorld
(
const
std::string &name, LD levelData) :
World
(name),
m_levelData
(levelData) {}
16
17
protected
:
18
LD
m_levelData
;
19
};
20
}
// namespace lodestone::minecraft::common::world
21
22
#endif
// LODESTONE_MINECRAFTWORLD_H
LevelData.h
World.h
lodestone::level::world::World
lodestone::level::world::World::World
World(const std::string &name="New World")
lodestone::minecraft::common::world::MinecraftWorld::m_levelData
LD m_levelData
Definition
MinecraftWorld.h:18
lodestone::minecraft::common::world::MinecraftWorld::MinecraftWorld
MinecraftWorld(const std::string &name, LD levelData)
Definition
MinecraftWorld.h:15
lodestone::minecraft::common::world
Definition
LevelData.cpp:6
Generated by
1.15.0