FeatherMC/src/block/Block.h

20 lines
335 B
C++

#pragma once
#include <string>
namespace Feather
{
// Represents a type of block and its behavior.
class Block
{
using string = std::string;
const Identifier m_id;
public:
Block(string&& name) : m_id(name) {}
inline const Identifier& GetIdentifier() const { return m_id; }
};
}