2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "DiggerItem.h"
|
|
|
|
|
|
2026-03-03 03:04:10 +08:00
|
|
|
#define PICKAXE_DIGGABLES 23
|
2026-03-01 12:16:08 +08:00
|
|
|
|
|
|
|
|
class PickaxeItem : public DiggerItem
|
|
|
|
|
{
|
|
|
|
|
private:
|
2026-03-03 03:04:10 +08:00
|
|
|
static TileArray diggables;
|
2026-03-01 12:16:08 +08:00
|
|
|
|
2026-03-02 17:37:16 +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 17:37:16 +07:00
|
|
|
virtual float getDestroySpeed(shared_ptr<ItemInstance> itemInstance, Tile *tile); // 4J - brought forward from 1.2.3
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|