2012-08-09 08:43:26 +00:00
|
|
|
|
2012-07-15 20:36:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
#include "BlockRedstone.h"
|
2012-08-09 08:43:26 +00:00
|
|
|
#include "BlockTorch.h"
|
2012-09-23 22:09:57 +00:00
|
|
|
#include "../Torch.h"
|
2012-07-15 20:36:34 +00:00
|
|
|
|
|
|
|
|
|
2012-08-09 08:43:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-01 21:21:17 +00:00
|
|
|
class cBlockRedstoneTorchHandler : public cBlockTorchHandler
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
cBlockRedstoneTorchHandler(BLOCKTYPE a_BlockID)
|
2012-09-01 21:21:17 +00:00
|
|
|
: cBlockTorchHandler(a_BlockID)
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2012-08-09 08:43:26 +00:00
|
|
|
virtual int GetDropID(void) override
|
2012-07-15 20:36:34 +00:00
|
|
|
{
|
|
|
|
|
return E_ITEM_REDSTONE_TORCH_ON;
|
|
|
|
|
}
|
2012-09-11 12:01:34 +00:00
|
|
|
|
|
|
|
|
virtual AString GetStepSound(void) override
|
|
|
|
|
{
|
|
|
|
|
return "step.wood";
|
|
|
|
|
}
|
|
|
|
|
};
|