summaryrefslogtreecommitdiffstats
path: root/src/Simulator/RedstoneSimulator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-30 13:11:39 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-30 13:11:39 +0100
commit455686e3ade61999d377965e02315603959ae2a4 (patch)
treedddfb36b24886b677df7eae3cd147a043b1b4386 /src/Simulator/RedstoneSimulator.h
parentFixed thin snow CanBeAt checking (diff)
downloadcuberite-455686e3ade61999d377965e02315603959ae2a4.tar
cuberite-455686e3ade61999d377965e02315603959ae2a4.tar.gz
cuberite-455686e3ade61999d377965e02315603959ae2a4.tar.bz2
cuberite-455686e3ade61999d377965e02315603959ae2a4.tar.lz
cuberite-455686e3ade61999d377965e02315603959ae2a4.tar.xz
cuberite-455686e3ade61999d377965e02315603959ae2a4.tar.zst
cuberite-455686e3ade61999d377965e02315603959ae2a4.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/RedstoneSimulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Simulator/RedstoneSimulator.h b/src/Simulator/RedstoneSimulator.h
index 9e244d7da..59400b614 100644
--- a/src/Simulator/RedstoneSimulator.h
+++ b/src/Simulator/RedstoneSimulator.h
@@ -111,6 +111,8 @@ private:
bool AreCoordsPowered(int a_BlockX, int a_BlockY, int a_BlockZ);
/// <summary>Returns if a repeater is powered</summary>
bool IsRepeaterPowered(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta);
+ /// <summary>Returns if a piston is powered</summary>
+ bool IsPistonPowered(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYPE a_Meta);
/// <summary>Returns if lever metadata marks it as emitting power</summary>
bool IsLeverOn(NIBBLETYPE a_BlockMeta);