Encapsulates attributes related to body damage and armor state. More...
#include <cObject.h>
Public Types | |
enum | Parts { BODY = 0, LEGS, LEFT, RIGHT, MAX_PARTS } |
Enumeration of entity body part units: Body, Legs, Left, Right. | |
Public Member Functions | |
rDamageable () | |
Constructor. | |
rDamageable (rDamageable *original) | |
Copy Constructor. | |
Public Attributes | |
float | hp [MAX_PARTS] |
Health-Points for Body-Parts. |
Encapsulates attributes related to body damage and armor state.