summaryrefslogtreecommitdiffstats
path: root/src/Entities/SplashPotionEntity.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-09-07 10:33:46 +0200
committerMattes D <github@xoft.cz>2017-09-07 10:33:46 +0200
commited7adef1ca277c0eaef3be840be6b9ee456c04b8 (patch)
treea207cddc5a097c86fc9aa1e1a6c762b8c5096c18 /src/Entities/SplashPotionEntity.h
parentChanged some int parameters to vector parameters (#3937) (diff)
downloadcuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar
cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.gz
cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.bz2
cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.lz
cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.xz
cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.zst
cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/SplashPotionEntity.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Entities/SplashPotionEntity.h b/src/Entities/SplashPotionEntity.h
index fc364404b..bb78bfaeb 100644
--- a/src/Entities/SplashPotionEntity.h
+++ b/src/Entities/SplashPotionEntity.h
@@ -41,16 +41,17 @@ public:
// tolua_begin
cEntityEffect::eType GetEntityEffectType(void) const { return m_EntityEffectType; }
- cEntityEffect GetEntityEffect(void) const { return m_EntityEffect; }
int GetPotionColor(void) const { return m_PotionColor; }
const cItem & GetItem(void) const { return m_Item; }
void SetEntityEffectType(cEntityEffect::eType a_EntityEffectType) { m_EntityEffectType = a_EntityEffectType; }
- void SetEntityEffect(cEntityEffect a_EntityEffect) { m_EntityEffect = a_EntityEffect; }
void SetPotionColor(int a_PotionColor) { m_PotionColor = a_PotionColor; }
// tolua_end
+ cEntityEffect GetEntityEffect(void) const { return m_EntityEffect; }
+ void SetEntityEffect(cEntityEffect a_EntityEffect) { m_EntityEffect = a_EntityEffect; }
+
protected:
cEntityEffect::eType m_EntityEffectType;