GBE::GPlanetCategory Class Reference

Provides a planet category for dynamic world generation. More...

#include <GPlanetCategory.h>

Inheritance diagram for GBE::GPlanetCategory:

Inheritance graph
[legend]
Collaboration diagram for GBE::GPlanetCategory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GPlanetCategory (double range)
virtual ~GPlanetCategory ()
virtual GCS::GFormcreateForm (const GCS::GEnergy &energy, const GCS::GVector3 &position, Util::PseudoRNG &rng) const
virtual void postProcess (GCS::GElement *element, Util::PseudoRNG &rng, const GCS::GObject *own_object) const

Detailed Description

Provides a planet category for dynamic world generation.

Author:
Raphael Langerhorst


Constructor & Destructor Documentation

GBE::GPlanetCategory::GPlanetCategory ( double  range  ) 

Constructor.

GBE::GPlanetCategory::~GPlanetCategory (  )  [virtual]

Virtual destructor.


Member Function Documentation

GCS::GForm * GBE::GPlanetCategory::createForm ( const GCS::GEnergy energy,
const GCS::GVector3 position,
Util::PseudoRNG &  rng 
) const [virtual]

Creates a planet form (a sphere).

Implements GBE::GDynamicGeneratorCategory.

void GBE::GPlanetCategory::postProcess ( GCS::GElement element,
Util::PseudoRNG &  rng,
const GCS::GObject own_object 
) const [virtual]

Create agents that should operate on the planet element.

Implements GBE::GDynamicGeneratorCategory.


The documentation for this class was generated from the following files:
Generated on Thu Nov 16 07:49:24 2006 for G System by  doxygen 1.4.7