summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.h
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-04-07 12:32:57 +0200
committerAlexander Harkness <bearbin@gmail.com>2014-04-07 12:32:57 +0200
commit76b321a0f452c1c5244b1abe1d0a0b77741314af (patch)
tree067567522a1b95d7c8432f02a199a5285fdb2bbe /src/Simulator/IncrementalRedstoneSimulator.h
parentFixed HTTP chunked encoding. (diff)
parentAdded support for redstone latching (diff)
downloadcuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.tar
cuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.tar.gz
cuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.tar.bz2
cuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.tar.lz
cuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.tar.xz
cuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.tar.zst
cuberite-76b321a0f452c1c5244b1abe1d0a0b77741314af.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.h b/src/Simulator/IncrementalRedstoneSimulator.h
index 8b7363366..f93f86898 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.h
+++ b/src/Simulator/IncrementalRedstoneSimulator.h
@@ -154,6 +154,8 @@ private:
bool AreCoordsSimulated(int a_BlockX, int a_BlockY, int a_BlockZ, bool IsCurrentStatePowered);
/** Returns if a repeater is powered */
bool IsRepeaterPowered(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta);
+ /** Returns if a repeater is locked */
+ bool IsRepeaterLocked(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta);
/** Returns if a piston is powered */
bool IsPistonPowered(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta);
/** Returns if a wire is powered