2012-07-29 12:07:22 +00:00
|
|
|
|
2012-07-15 20:36:34 +00:00
|
|
|
#pragma once
|
2012-09-23 22:09:57 +00:00
|
|
|
|
|
|
|
#include "ItemHandler.h"
|
2012-07-15 20:36:34 +00:00
|
|
|
|
|
|
|
|
2012-07-29 12:07:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-15 20:36:34 +00:00
|
|
|
class cItemRedstoneDustHandler : public cItemHandler
|
|
|
|
{
|
|
|
|
public:
|
2012-10-18 19:41:29 +00:00
|
|
|
cItemRedstoneDustHandler(int a_ItemType)
|
|
|
|
: cItemHandler(a_ItemType)
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
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-29 12:07:22 +00:00
|
|
|
virtual NIBBLETYPE GetBlockMeta(short a_ItemDamage) override
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2012-07-29 12:07:22 +00:00
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|