summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-13 04:50:02 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:21 +0200
commit5b2b6e06150b6299d1e19374be092c0858b0e3a8 (patch)
tree0d8728e4ef91f35216924ba0fd8e13e9059d15f6 /src/Entities/Pawn.h
parentCave spider now poisons its victim, added IsPawn function to Entity (diff)
downloadcuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.gz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.bz2
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.lz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.xz
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.tar.zst
cuberite-5b2b6e06150b6299d1e19374be092c0858b0e3a8.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h
index 47fb691f4..2ffdd9fbb 100644
--- a/src/Entities/Pawn.h
+++ b/src/Entities/Pawn.h
@@ -23,6 +23,7 @@ public:
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
virtual void KilledBy(cEntity * a_Killer) override;
+ // tolua_begin
/** Applies an entity effect
* @param a_EffectType The entity effect to apply
* @param a_Effect The parameters of the effect
@@ -36,6 +37,7 @@ public:
/** Removes all currently applied entity effects (used when drinking milk) */
void ClearEntityEffects();
+ // tolua_end
protected:
typedef std::map<cEntityEffect::eType, cEntityEffect> tEffectMap;
@@ -45,7 +47,7 @@ protected:
* @param a_EffectType The selected entity effect
* @param a_Effect The parameters of the selected entity effect
*/
- virtual void HandleEntityEffects(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect);
+ virtual void HandleEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect);
} ; // tolua_export