#ifndef CENTRIFUGE_HPP_
#define CENTRIFUGE_HPP_

#include <Block/SpriteBlock/SpriteBlock.hpp>

class Centrifuge : public SpriteBlock
{
public:
    /*
        #             Centrifuge Meta Byte
        +-------+---+---+---+---+---+---+---+---+
        | Bit   | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
        +-------+---+---+---+---+---+---+---+---+
        | Field |   |   |   |   |   |   |   | A |
        +-------+---+---+---+---+---+---+---+---+

        A
            If set, the centrifuge is spinning.
    */

    static constexpr uint8_t metaActive = 1 << 0;

    Centrifuge(std::string name);

    virtual bool canManuallyDig() override;
};

#endif