summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BeaconEntity.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-31 12:13:11 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-31 12:13:11 +0200
commit556fc908aedcc36388e9d859487b140045e5e33e (patch)
tree2dccc3b803528418ea3044a8cefe124028903447 /src/BlockEntities/BeaconEntity.h
parentAdded window update. (diff)
downloadcuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar
cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.gz
cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.bz2
cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.lz
cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.xz
cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.zst
cuberite-556fc908aedcc36388e9d859487b140045e5e33e.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BeaconEntity.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/BlockEntities/BeaconEntity.h b/src/BlockEntities/BeaconEntity.h
index 59a4bdbd9..5cf8da24e 100644
--- a/src/BlockEntities/BeaconEntity.h
+++ b/src/BlockEntities/BeaconEntity.h
@@ -52,14 +52,14 @@ public:
/** Returns the beacon level. (0 - 4) */
char GetBeaconLevel(void) const { return m_BeaconLevel; }
- cEntityEffect::eType GetPrimaryPotion(void) const { return m_PrimaryPotion; }
- cEntityEffect::eType GetSecondaryPotion(void) const { return m_SecondaryPotion; }
+ cEntityEffect::eType GetPrimaryEffect(void) const { return m_PrimaryEffect; }
+ cEntityEffect::eType GetSecondaryEffect(void) const { return m_SecondaryEffect; }
/** Select the primary potion. Returns false when the potion is invalid.*/
- bool SelectPrimaryPotion(cEntityEffect::eType a_Potion);
+ bool SelectPrimaryEffect(cEntityEffect::eType a_Effect);
/** Select the secondary potion. Returns false when the potion is invalid. */
- bool SelectSecondaryPotion(cEntityEffect::eType a_Potion);
+ bool SelectSecondaryEffect(cEntityEffect::eType a_Effect);
/** Calculate the amount of layers the pyramid below the beacon has. */
char CalculatePyramidLevel(void);
@@ -77,7 +77,7 @@ public:
static bool IsMineralBlock(BLOCKTYPE a_BlockType);
/** Returns true if the potion can be used. */
- static bool IsValidPotion(cEntityEffect::eType a_Potion, char a_BeaconLevel);
+ static bool IsValidEffect(cEntityEffect::eType a_Effect, char a_BeaconLevel);
// tolua_end
@@ -85,7 +85,7 @@ protected:
bool m_IsActive;
char m_BeaconLevel;
- cEntityEffect::eType m_PrimaryPotion, m_SecondaryPotion;
+ cEntityEffect::eType m_PrimaryEffect, m_SecondaryEffect;
} ; // tolua_export