22 virtual
bool Attack(
std::chrono::milliseconds a_Dt) override;
23 virtual
void Tick(
std::chrono::milliseconds a_Dt,
cChunk & a_Chunk) override;
bool m_BurnedWithFlintAndSteel
virtual void OnRightClicked(cPlayer &a_Player) override
Called when the specified player right-clicks this entity.
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
bool IsBlowing(void) const
virtual void GetDrops(cItems &a_Drops, cEntity *a_Killer=nullptr) override
Returns the list of drops for this pawn when it is killed.
bool IsCharged(void) const
virtual bool Attack(std::chrono::milliseconds a_Dt) override
Try to perform attack returns true if attack was deemed successful (hit player, fired projectile...
virtual bool DoTakeDamage(TakeDamageInfo &a_TDI) override
Makes this entity take damage specified in the a_TDI.
#define CLASS_PROTODEF(classname)
This class bridges a vector of cItem for safe access via Lua.
bool IsBurnedWithFlintAndSteel(void) const