diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-31 18:15:39 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-31 18:15:39 +0200 |
commit | 6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7 (patch) | |
tree | 193ada7fa748f645ca0064cd94e77d13393e83cc /src/BlockEntities/BeaconEntity.h | |
parent | Updated documentation. (diff) | |
download | cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.tar cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.tar.gz cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.tar.bz2 cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.tar.lz cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.tar.xz cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.tar.zst cuberite-6b1f7e7a45ebc04f39bb54edc85fbe9c9d0659e7.zip |
Diffstat (limited to 'src/BlockEntities/BeaconEntity.h')
-rw-r--r-- | src/BlockEntities/BeaconEntity.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/BlockEntities/BeaconEntity.h b/src/BlockEntities/BeaconEntity.h index cc8ee8ad2..0d7150aef 100644 --- a/src/BlockEntities/BeaconEntity.h +++ b/src/BlockEntities/BeaconEntity.h @@ -55,11 +55,11 @@ public: cEntityEffect::eType GetPrimaryEffect(void) const { return m_PrimaryEffect; } cEntityEffect::eType GetSecondaryEffect(void) const { return m_SecondaryEffect; } - /** Select the primary effect. Returns false when the effect is invalid.*/ - bool SelectPrimaryEffect(cEntityEffect::eType a_Effect); + /** Sets the primary effect. Returns false when the effect is invalid. */ + bool SetPrimaryEffect(cEntityEffect::eType a_Effect); - /** Select the secondary effect. Returns false when the effect is invalid. */ - bool SelectSecondaryEffect(cEntityEffect::eType a_Effect); + /** Sets the secondary effect. Returns false when the effect is invalid. */ + bool SetSecondaryEffect(cEntityEffect::eType a_Effect); /** Calculate the amount of layers the pyramid below the beacon has. */ char CalculatePyramidLevel(void); |