diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-16 06:52:45 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-12-16 06:52:45 +0100 |
commit | b1777fa867fdd14b1a4b00774a5f7675130ecb97 (patch) | |
tree | 86d4976c55684f5234bb52bf7912ff4f9d22291e /source/Simulator/RedstoneSimulator.h | |
parent | Fixed fall damage again (diff) | |
download | cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.tar cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.tar.gz cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.tar.bz2 cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.tar.lz cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.tar.xz cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.tar.zst cuberite-b1777fa867fdd14b1a4b00774a5f7675130ecb97.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Simulator/RedstoneSimulator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Simulator/RedstoneSimulator.h b/source/Simulator/RedstoneSimulator.h index f26b6b46b..14aceed56 100644 --- a/source/Simulator/RedstoneSimulator.h +++ b/source/Simulator/RedstoneSimulator.h @@ -35,6 +35,8 @@ public: static bool IsRepeaterPointingAway(const Vector3i & a_RepeaterPos, char a_MetaData, const Vector3i & a_BlockPos); static NIBBLETYPE RepeaterRotationToMetaData(float a_Rotation); static Vector3i GetRepeaterDirection(NIBBLETYPE a_MetaData); + static NIBBLETYPE LeverDirectionToMetaData(NIBBLETYPE a_dir); + static bool cRedstoneSimulator::IsLeverOn(cWorld *a_World, const Vector3i & a_BlockPos); private: |