CodeSubWars 0.4.7b
CodeSubWars::CSWExplosionDetectedMessage Class Reference

#include <CSWExplosionDetectedMessage.h>

Inheritance diagram for CodeSubWars::CSWExplosionDetectedMessage:

Public Member Functions

const Vector3D & getPoint () const
 
const double & getDamage () const
 

Detailed Description

This is the specialized class for explosion detected messages.

Member Function Documentation

◆ getDamage()

const double & CodeSubWars::CSWExplosionDetectedMessage::getDamage ( ) const

Returns the damage applied by the detected explosion in range [0, 1].

◆ getPoint()

const Vector3D & CodeSubWars::CSWExplosionDetectedMessage::getPoint ( ) const

Returns the position in world coordinates where the explosion was detected.


Generated at Sun Aug 7 2022 for project CodeSubWars. www.codesubwars.org