summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/RedstonePoweredEntity.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-17 11:20:10 +0200
committerMattes D <github@xoft.cz>2015-09-17 11:20:10 +0200
commit9871c0b0731446f6c12137502153c24c9f1d9dfa (patch)
tree4b984cbc73628fac3a3e0ed3aff55a65dfaf82f7 /src/BlockEntities/RedstonePoweredEntity.h
parentMerge pull request #2457 from cuberite/log (diff)
downloadcuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.gz
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.bz2
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.lz
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.xz
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.zst
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.zip
Diffstat (limited to 'src/BlockEntities/RedstonePoweredEntity.h')
-rw-r--r--src/BlockEntities/RedstonePoweredEntity.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/BlockEntities/RedstonePoweredEntity.h b/src/BlockEntities/RedstonePoweredEntity.h
index eac4e35d4..06856f3ea 100644
--- a/src/BlockEntities/RedstonePoweredEntity.h
+++ b/src/BlockEntities/RedstonePoweredEntity.h
@@ -1,13 +1,30 @@
+// RedstonePoweredEntity.h
+
+// Declares the cRedstonePoweredEntity class representing a mix-in for block entities that respond to redstone
+
+
+
+
+
#pragma once
-// Interface class representing a blockEntity that responds to redstone
+
+
+
+
+/** Interface class representing a mix-in for block entities that respond 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
+ /** 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;
};
+
+
+
+