2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "DiggerItem.h"
|
|
|
|
|
|
|
|
|
|
#define PICKAXE_DIGGABLES 22
|
|
|
|
|
|
|
|
|
|
class PickaxeItem : public DiggerItem
|
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
static TileArray *diggables;
|
|
|
|
|
|
2026-03-02 15:58:20 +07:00
|
|
|
public: //
|
2026-03-01 12:16:08 +08:00
|
|
|
static void staticCtor();
|
|
|
|
|
|
|
|
|
|
PickaxeItem(int id, const Tier *tier);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
virtual bool canDestroySpecial(Tile *tile);
|
2026-03-02 15:58:20 +07:00
|
|
|
virtual float getDestroySpeed(std::shared_ptr<ItemInstance> itemInstance, Tile *tile); // 4J - brought forward from 1.2.3
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|