#include <CSWExplosionDetectedMessage.h>
Public Member Functions | |
const Vector3D & | getPoint () const |
const double & | getDamage () const |
This is the specialized class for explosion detected messages.
const double & CodeSubWars::CSWExplosionDetectedMessage::getDamage | ( | ) | const |
Returns the damage applied by the detected explosion in range [0, 1].
const Vector3D & CodeSubWars::CSWExplosionDetectedMessage::getPoint | ( | ) | const |
Returns the position in world coordinates where the explosion was detected.