diff options
author | narroo <narroo@vt.edu> | 2014-03-25 22:17:05 +0100 |
---|---|---|
committer | narroo <narroo@vt.edu> | 2014-03-25 22:17:05 +0100 |
commit | e1285eb84f357c3111f5c7382c94bccc7068c660 (patch) | |
tree | 9afce1903caab9d6d8905539d0b6cd6a7e50e4d7 /src/Blocks/BlockSign.h | |
parent | Added MetaRotate/Mirror Support for a number of classes. (diff) | |
download | cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.tar cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.tar.gz cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.tar.bz2 cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.tar.lz cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.tar.xz cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.tar.zst cuberite-e1285eb84f357c3111f5c7382c94bccc7068c660.zip |
Diffstat (limited to 'src/Blocks/BlockSign.h')
-rw-r--r-- | src/Blocks/BlockSign.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Blocks/BlockSign.h b/src/Blocks/BlockSign.h index cd0c02a40..82d9a2fcc 100644 --- a/src/Blocks/BlockSign.h +++ b/src/Blocks/BlockSign.h @@ -71,6 +71,18 @@ public: { a_Player->GetClientHandle()->SendEditSign(a_BlockX, a_BlockY, a_BlockZ); } + + + virtual NIBBLETYPE MetaRotateCW(NIBBLETYPE a_Meta) override + { + return ++a_Meta; + } + + + virtual NIBBLETYPE MetaRotateCCW(NIBBLETYPE a_Meta) override + { + return --a_Meta; + } } ; |