X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FCreature.hpp;h=1c2556a52e30bb3d2167cf584b67403b3df0181e;hp=498ebeac8d7665ccc68986b4376812d62ee6935c;hb=23f64a38a27866e88e87602cc6f8b11ef7173d6e;hpb=d364d8a9203138be1c569cdc31144f51883ec79f diff --git a/src/creature/Creature.hpp b/src/creature/Creature.hpp index 498ebea..1c2556a 100644 --- a/src/creature/Creature.hpp +++ b/src/creature/Creature.hpp @@ -139,6 +139,7 @@ public: void Hurt(double d) noexcept; void Die() noexcept; + bool Dead() const noexcept; void OnDeath(Callback cb) noexcept { on_death = cb; } void Remove() noexcept; bool Removable() const noexcept { return removable; }