22 #include "object/interface/damageable_object.h" 28 enum class DestructionType
68 virtual void DestroyObject(DestructionType type) = 0;
71 virtual float GetLightningHitProbability() = 0;
74 virtual void SetDying(DeathType deathType) = 0;
76 virtual DeathType GetDying() = 0;
78 virtual bool IsDying() = 0;
objects that can be destroyed (base for Shielded and Fragile)
Interface for objects that can be destroyed.
Definition: destroyable_object.h:55
Interface for objects that generate particles when hit.
Definition: damageable_object.h:47