Planeshift
Public Member Functions | Protected Member Functions | Protected Attributes

OverridableRace Class Reference

#include <pscharacter.h>

List of all members.

Public Member Functions

 OverridableRace (psRaceInfo *race)
 Constructor, wants a.
void SetCharacter (psCharacter *psChar)
 Sets which character owns this overridableRace.
virtual ~OverridableRace ()
 Destructor.

Protected Member Functions

virtual void OnChange ()
 Function called when the overridable is changed.

Protected Attributes

psCharactercharacter
 Pointer to the psCharacter owning this overridable class.

Detailed Description

Definition at line 607 of file pscharacter.h.


Constructor & Destructor Documentation

OverridableRace::OverridableRace ( psRaceInfo race) [inline]

Constructor, wants a.

See also:
psRaceInfo pointer which should be the default one usually.
Parameters:
raceA pointer to a
See also:
psRaceInfo.

Definition at line 616 of file pscharacter.h.

virtual OverridableRace::~OverridableRace ( ) [inline, virtual]

Destructor.

Definition at line 621 of file pscharacter.h.


Member Function Documentation

virtual void OverridableRace::OnChange ( ) [protected, virtual]

Function called when the overridable is changed.

It sets the base values of the race and the helm/belt... groups.

Reimplemented from Overridable< psRaceInfo * >.

void OverridableRace::SetCharacter ( psCharacter psChar) [inline]

Sets which character owns this overridableRace.

Parameters:
psCharA pointer to a pscharacter.

Definition at line 628 of file pscharacter.h.


Member Data Documentation

Pointer to the psCharacter owning this overridable class.

Definition at line 642 of file pscharacter.h.


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