19 virtual
void Tick(
std::chrono::milliseconds a_Dt,
cChunk & a_Chunk) override;
20 virtual
bool Attack(
std::chrono::milliseconds a_Dt) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk &a_Chunk) override
virtual void GetDrops(cItems &a_Drops, cEntity *a_Killer=nullptr) override
Returns the list of drops for this pawn when it is killed.
#define CLASS_PROTODEF(classname)
virtual bool Attack(std::chrono::milliseconds a_Dt) override
Try to perform attack returns true if attack was deemed successful (hit player, fired projectile...
This class bridges a vector of cItem for safe access via Lua.