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