diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-30 22:50:34 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-30 22:50:34 +0200 |
commit | dcd226d9040409dec41c8f1f8909262946308ab0 (patch) | |
tree | 79479a67d634ae8a622f247acc283d2ea57888c6 /src/BlockEntities | |
parent | Added beacon documentation. (diff) | |
download | cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.tar cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.tar.gz cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.tar.bz2 cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.tar.lz cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.tar.xz cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.tar.zst cuberite-dcd226d9040409dec41c8f1f8909262946308ab0.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/BeaconEntity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BlockEntities/BeaconEntity.h b/src/BlockEntities/BeaconEntity.h index 07b2b85dc..59a4bdbd9 100644 --- a/src/BlockEntities/BeaconEntity.h +++ b/src/BlockEntities/BeaconEntity.h @@ -41,6 +41,9 @@ public: virtual bool Tick(float a_Dt, cChunk & a_Chunk) override; virtual void UsedBy(cPlayer * a_Player) override; + /** Modify the beacon level. (It is needed to load the beacon corectly) */ + void SetBeaconLevel(char a_Level) { m_BeaconLevel = a_Level; } + // tolua_begin /** Is the beacon active? */ |