Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::feats::Toughness Class Reference

A feat that adds +3 health points each time it is taken.

#include <Toughness.h>

Inheritance diagram for ogs::feats::Toughness:

Inheritance graph
[legend]
Collaboration diagram for ogs::feats::Toughness:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Toughness ()
 Create a new Toughness feat.

bool attachObject (Object &object)
 Attach this feature to an object.

bool dettachObject ()

Member Function Documentation

bool ogs::feats::Toughness::attachObject Object &  object  )  [virtual]
 

This method should always be called first by derived classes that override this method.

Parameters:
object Object to attach this feature to.
Returns:
True if the feature is attached to the object.

Reimplemented from ogs::core::Feature.


The documentation for this class was generated from the following file:
Generated on Sun Apr 20 03:39:38 2003 for Open Gaming System (OGS) by doxygen1.3