mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-27 00:18:13 +05:00
20 lines
443 B
C++
20 lines
443 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class Player;
|
|
class Level;
|
|
|
|
class BucketItem : public Item
|
|
{
|
|
private:
|
|
int content;
|
|
|
|
public:
|
|
BucketItem(int id, int content);
|
|
|
|
virtual bool TestUse(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player);
|
|
virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player);
|
|
|
|
bool emptyBucket(Level *level, int xt, int yt, int zt);
|
|
}; |