Race Class Reference
[Engine Module]

#include <race.h>

Inheritance diagram for Race:

Preloaded Root Object TreeNode< Root > Referenced Counted Serialized List< Root > ListNode< Root >

List of all members.

Public Member Functions

 Race (const char *id)
virtual ~Race ()
SchemeGetScheme () const
PrototypeGetPrototype (const string &prototype_id) const
const string & GetMeetingModel () const

Protected Member Functions

virtual void ClearHeader ()
virtual void ClearBody ()
virtual bool LoadResources ()
virtual void UnloadResources ()
virtual bool ReadHeader (Serializer &serializer)
virtual bool ReadBody (Serializer &serializer)
virtual bool WriteHeader (Serializer &serializer)
virtual bool WriteBody (Serializer &serializer)
bool ReadMeetingPoint (Serializer &serializer)

Protected Attributes

string name
 Full race name.
string author_name
string author_contact
Ref< Rootprototypes
Ref< Schemescheme
string meeting_model
 File name of model of meeting point.


Constructor & Destructor Documentation

Race::Race ( const char *  id  ) 

Constructor.

Race::~Race (  )  [virtual]

Destructor.


Member Function Documentation

Scheme * Race::GetScheme (  )  const [inline]

Prototype * Race::GetPrototype ( const string &  prototype_id  )  const [inline]

const string & Race::GetMeetingModel (  )  const [inline]

void Race::ClearHeader (  )  [protected, virtual]

Reimplemented from Preloaded.

void Race::ClearBody (  )  [protected, virtual]

Reimplemented from Preloaded.

bool Race::LoadResources (  )  [protected, virtual]

Reimplemented from Preloaded.

void Race::UnloadResources (  )  [protected, virtual]

Reimplemented from Preloaded.

bool Race::ReadHeader ( Serializer serializer  )  [protected, virtual]

Reimplemented from Preloaded.

bool Race::ReadBody ( Serializer serializer  )  [protected, virtual]

Todo:
Reading common textures.

Reading shared sounds.

Reimplemented from Preloaded.

bool Race::WriteHeader ( Serializer serializer  )  [protected, virtual]

Reimplemented from Preloaded.

bool Race::WriteBody ( Serializer serializer  )  [protected, virtual]

Todo:
Implement

Reimplemented from Preloaded.

bool Race::ReadMeetingPoint ( Serializer serializer  )  [protected]


Member Data Documentation

string Race::name [protected]

Full race name.

string Race::author_name [protected]

string Race::author_contact [protected]

Ref<Root> Race::prototypes [protected]

Ref<Scheme> Race::scheme [protected]

string Race::meeting_model [protected]

File name of model of meeting point.


The documentation for this class was generated from the following files:
Generated on Sat Oct 20 14:47:34 2007 for Dark Oberon by  doxygen 1.5.3