rDamageable Struct Reference

#include <cObject.h>

Inheritance diagram for rDamageable:
rRole

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 Fri Aug 27 16:01:36 2010 for Linwarrior 3D by  doxygen 1.6.3