#include <terrainmorph.h>
Inheritance diagram for lilith3d::BuildingMorph:

Public Member Functions | |
| BuildingMorph (int x, int y, float height, const StaticResource *buildingResource) | |
| Construct a building morph. | |
| void | SetTime (U32 timeInMSec) |
| virtual bool | DoSequence (TimeClock *timeClock) |
| void lilith3d::BuildingMorph::SetTime | ( | U32 | timeInMSec | ) |
Buildings morphs normally take 1 second to complete (1000ms). You can change this to any amount of time by calling this function.
| virtual bool lilith3d::BuildingMorph::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.
Implements lilith3d::TerrainMorph.
1.5.1-p1