summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/RedstonePoweredEntity.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-08-05 23:54:36 +0200
committerTycho <work.tycho+git@gmail.com>2014-08-05 23:54:36 +0200
commit9272bd627c732771b81e6dcf6b8465404917a9d6 (patch)
tree617cb2f8d97901df9e9a47df813c63c6d724563e /src/BlockEntities/RedstonePoweredEntity.h
parentRefactored Redstone simulator not to depend on TNTEntity or DropSpenserENtity Directly (diff)
downloadcuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.tar
cuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.tar.gz
cuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.tar.bz2
cuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.tar.lz
cuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.tar.xz
cuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.tar.zst
cuberite-9272bd627c732771b81e6dcf6b8465404917a9d6.zip
Diffstat (limited to 'src/BlockEntities/RedstonePoweredEntity.h')
-rw-r--r--src/BlockEntities/RedstonePoweredEntity.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/BlockEntities/RedstonePoweredEntity.h b/src/BlockEntities/RedstonePoweredEntity.h
index aebba771f..7d6904442 100644
--- a/src/BlockEntities/RedstonePoweredEntity.h
+++ b/src/BlockEntities/RedstonePoweredEntity.h
@@ -1,9 +1,13 @@
+#pragma once
// Interface class representing a blockEntity that responds to redstone
class cRedstonePoweredEntity
{
public:
+
+ virtual ~cRedstonePoweredEntity() {};
+
/// Sets the internal redstone power flag to "on" or "off", depending on the parameter. Calls Activate() if appropriate
virtual void SetRedstonePower(bool a_IsPowered) = 0;
};