19 virtual void Tick(std::chrono::milliseconds a_Dt,
cChunk & a_Chunk)
override;
#define CLASS_PROTODEF(classname)
This class bridges a vector of cItem for safe access via Lua.
cAggressiveMonster(const AString &a_ConfigName, eMonsterType a_MobType, const AString &a_SoundHurt, const AString &a_SoundDeath, const AString &a_SoundAmbient, float a_Width, float a_Height)
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
virtual void HandleAir(void) override
Called in each tick to handle air-related processing i.e.
virtual void GetDrops(cItems &a_Drops, cEntity *a_Killer=nullptr) override
Returns the list of drops for this pawn when it is killed.
virtual void SetSwimState(cChunk &a_Chunk) override
Called once per tick to set m_IsInFire, m_IsInLava, m_IsInWater and m_IsHeadInWater.