#include <pagedterraintilefactory.h>
Public Member Functions | |
| PagedTerrainTileFactory () | |
| Empty constructor... | |
| virtual PagedTerrainTile * | CreateNewTile (const GeoCoordinates &coords, Terrain &owner) |
| This method creates a new terrain tile. | |
Protected Member Functions | |
| virtual | ~PagedTerrainTileFactory () |
| Empty destructor... | |
The terrain relies on this factory when it needs to create a new tile. Specific applications which rely on custom terrain tiles may wish to build a custom factory for the terrain to use.
| dtTerrain::PagedTerrainTileFactory::PagedTerrainTileFactory | ( | ) | [inline] |
Empty constructor...
| virtual dtTerrain::PagedTerrainTileFactory::~PagedTerrainTileFactory | ( | ) | [inline, protected, virtual] |
Empty destructor...
| virtual PagedTerrainTile* dtTerrain::PagedTerrainTileFactory::CreateNewTile | ( | const GeoCoordinates & | coords, | |
| Terrain & | owner | |||
| ) | [inline, virtual] |
This method creates a new terrain tile.
The default implementation merely creates a new tile and assigns its coordinates.
| coords | The coordinates mapped to this tile's location. | |
| owner | The terrain instance that owns this tile. |