summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-06 09:17:49 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:17:32 +0200
commit87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33 (patch)
treec901fa966d4dbaf836f4c06081cd4aeddfa8575f /src/Entities/Pawn.h
parentAdded classes for splash potions and wither skulls (diff)
downloadcuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.tar
cuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.tar.gz
cuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.tar.bz2
cuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.tar.lz
cuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.tar.xz
cuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.tar.zst
cuberite-87b1bfaf2aa62bf600293d11d0b3c73cfe9f9e33.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h
index e76337d86..7824a06f8 100644
--- a/src/Entities/Pawn.h
+++ b/src/Entities/Pawn.h
@@ -2,6 +2,7 @@
#pragma once
#include "Entity.h"
+#include "EntityEffects.h"
@@ -18,9 +19,15 @@ public:
CLASS_PROTODEF(cPawn);
cPawn(eEntityType a_EntityType, double a_Width, double a_Height);
+
+ virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
+
+ void AddEntityEffect(cEntityEffect::eType a_EffectType, cEntityEffect a_Effect);
+ void RemoveEntityEffect(cEntityEffect::eType a_EffectType);
protected:
bool m_bBurnable;
+ std::map<cEntityEffect::eType, cEntityEffect> m_EntityEffects;
} ; // tolua_export