summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockRedstoneTorch.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Blocks/BlockRedstoneTorch.h')
-rw-r--r--source/Blocks/BlockRedstoneTorch.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/source/Blocks/BlockRedstoneTorch.h b/source/Blocks/BlockRedstoneTorch.h
new file mode 100644
index 000000000..eeb2afc5c
--- /dev/null
+++ b/source/Blocks/BlockRedstoneTorch.h
@@ -0,0 +1,28 @@
+
+#pragma once
+#include "BlockRedstone.h"
+#include "BlockTorch.h"
+#include "../Torch.h"
+
+
+
+
+
+class cBlockRedstoneTorchHandler : public cBlockTorchHandler
+{
+public:
+ cBlockRedstoneTorchHandler(BLOCKTYPE a_BlockID)
+ : cBlockTorchHandler(a_BlockID)
+ {
+ }
+
+ virtual int GetDropID(void) override
+ {
+ return E_ITEM_REDSTONE_TORCH_ON;
+ }
+
+ virtual AString GetStepSound(void) override
+ {
+ return "step.wood";
+ }
+};