2012-07-15 20:36:34 +00:00
|
|
|
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cItemRedstoneDustHandler : public cItemHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cItemRedstoneDustHandler(int a_ItemID)
|
|
|
|
: cItemHandler(a_ItemID)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2012-07-16 19:20:37 +00:00
|
|
|
virtual bool IsPlaceable() override
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2012-07-16 19:20:37 +00:00
|
|
|
virtual BLOCKTYPE GetBlockType() override
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
return E_BLOCK_REDSTONE_WIRE;
|
|
|
|
}
|
|
|
|
|
2012-07-16 19:20:37 +00:00
|
|
|
virtual NIBBLETYPE GetBlockMeta(NIBBLETYPE a_ItemMeta) override
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
};
|