//
// Created by xhy on 2020/12/16.
//

#ifndef TRAPDOOR_BLOCKLEGACY_H
#define TRAPDOOR_BLOCKLEGACY_H

#include <string>

#include "VanillaBlockType.h"

/*
 * 所有方块的父类
 */
namespace trapdoor {
    class Block;

    class BlockLegacy {
       public:
        //获取具有特殊值状态的方块对象
        Block *tryGetStateBlock(unsigned short state);

        BlockType getBlockID();
    };
}  // namespace trapdoor
typedef trapdoor::BlockLegacy BlockLegacy;

#endif  // TRAPDOOR_BLOCKLEGACY_H
