FeatherMC/src/block/Block.h

20 lines
335 B
C
Raw Normal View History

2020-11-07 01:51:08 +00:00
#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; }
};
}