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