CSWCollisionDetectedMessage Class Reference

Inheritance diagram for CSWCollisionDetectedMessage:

Inheritance graph
List of all members.

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

const Vector3D & CSWCollisionDetectedMessage::getPoint (  )  const

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

const double & CSWCollisionDetectedMessage::getDamage (  )  const

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

Generated at 2 Jan 2007 for project CodeSubWars. www.codesubwars.org