59 virtual bool DamageObject(DamageType type,
float force = std::numeric_limits<float>::infinity()) = 0;
ObjectInterfaceType enum.
virtual bool DamageObject(DamageType type, float force=std::numeric_limits< float >::infinity())=0
Damage the object, with the given force. Returns true if the object has been fully destroyed (assumin...
objects that generate particles when hit
Interface for objects that generate particles when hit.
Definition: damageable_object.h:47