cObject::rDamageable Struct Reference

Encapsulates attributes related to body damage and armor state. More...

#include <cObject.h>

List of all members.

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.

Detailed Description

Encapsulates attributes related to body damage and armor state.


The documentation for this struct was generated from the following file:

Generated on Tue Feb 16 18:32:39 2010 for Linwarrior 3D by  doxygen 1.6.1