lilith3d::VolcanoMorph Class Reference

#include <terrainmorph.h>

Inheritance diagram for lilith3d::VolcanoMorph:

lilith3d::TerrainMorph lilith3d::ISequence List of all members.

Detailed Description

The class that generates the volcano change in the terrain.


Public Member Functions

 VolcanoMorph (int x, int y, float altitude)
void AddTexture (const Texture *texture)
 Add a texture to the morph. It will be centered on the volcano.
virtual bool DoSequence (TimeClock *timeClock)


Constructor & Destructor Documentation

lilith3d::VolcanoMorph::VolcanoMorph ( int  x,
int  y,
float  altitude 
)

Constructs the morph

Parameters:
x x location of the volcano center
y y location of the volcano center
altitude final height of the volcano


Member Function Documentation

virtual bool lilith3d::VolcanoMorph::DoSequence ( TimeClock timeClock  )  [virtual]

Called each tick to change the terrain. The terrain morph must be time based, because the time between calls is influenced by the frame rate.

Returns:
Is complete? Return true if complete, false if this should be called again. The morph will be deleted by Lilith if it is complete.

Implements lilith3d::TerrainMorph.


The documentation for this class was generated from the following file:
Generated on Fri Mar 23 19:36:28 2007 for Lilith3D by  doxygen 1.5.1-p1