CodeSubWars 0.4.7b
CodeSubWars::CSWCollisionDetectedMessage Class Reference

#include <CSWCollisionDetectedMessage.h>

Inheritance diagram for CodeSubWars::CSWCollisionDetectedMessage:

Public Member Functions

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

Detailed Description

This is the specialized class for collision detected messages.

Member Function Documentation

◆ getDamage()

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

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

◆ getPoint()

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

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

Generated at Sun Aug 7 2022 for project CodeSubWars.