24 lines
364 B
C++
24 lines
364 B
C++
#pragma once
|
|
|
|
#include "IDMapper.h"
|
|
#include "RegistryMap.h"
|
|
#include "block/state/BlockState.h"
|
|
|
|
|
|
namespace Feather
|
|
{
|
|
class Block;
|
|
|
|
class Registry
|
|
{
|
|
public:
|
|
// Maps block Identifier to Block
|
|
static RegistryMap<Block> BLOCKS;
|
|
|
|
// Maps numeric ID to BlockState
|
|
static IDMapper<BlockState> BLOCK_STATES;
|
|
|
|
static void Init();
|
|
};
|
|
}
|