#include <Block/SpriteBlock/Centrifuge/Centrifuge.hpp>
#include <Entity/PhysicsEntity/CameraEntity/Player/Player.hpp>
#include <World/LocalWorld/LocalWorld.hpp>

Centrifuge::Centrifuge(std::string name) :
    SpriteBlock(
        name,
        "Centrifuge",
        60.0f,
        "centrifugeIcon",
        {
            {
                {},
                {
                    {1, 1, 0, 7, 7, 8},
                    {0, 3, 3, 1, 5, 5},
                    {7, 3, 3, 8, 5, 5},
                    {3, 0, 3, 5, 1, 5},
                    {3, 7, 3, 5, 8, 5},
                },
                "off"
            },
            {
                {},
                {
                    {1, 1, 0, 7, 7, 8},
                    {0, 3, 3, 1, 5, 5},
                    {7, 3, 3, 8, 5, 5},
                    {3, 0, 3, 5, 1, 5},
                    {3, 7, 3, 5, 8, 5},
                },
                "on"
            },
        }
    )
{
    withMetalSounds();
}

bool Centrifuge::canManuallyDig()
{
    return true;
}