2020-08-07 05:48:54 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common.h"
|
2020-08-13 04:10:44 +01:00
|
|
|
#include "Palette.h"
|
|
|
|
|
2020-08-07 05:48:54 +01:00
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace Feather
|
|
|
|
{
|
|
|
|
class World
|
|
|
|
{
|
|
|
|
public:
|
2020-08-13 04:10:44 +01:00
|
|
|
// global palette of all block states
|
|
|
|
static const GlobalPalette<BlockState> GLOBAL_PALETTE;
|
2020-08-07 05:48:54 +01:00
|
|
|
struct LevelData
|
|
|
|
{
|
|
|
|
int32_t spawnX, spawnY, spawnZ;
|
|
|
|
} m_levelData;
|
|
|
|
|
|
|
|
World(std::string name);
|
|
|
|
};
|
|
|
|
}
|