C# Class Project2.GameObjects.FlatTerrain

Inheritance: Terrain
Mostra file Open project: nuclearpidgeon/graphicsproj2

Public Methods

Method Description
FlatTerrain ( Project2Game game, System.Vector3 position, float xScale, float zScale, float frontHeight = 0.0f, float backHeight = 0.0f ) : System

Constructs a flat terrain

Protected Methods

Method Description
GeneratePhysicsDescription ( ) : RigidBody
GenerateTerrainData ( ) : ].float[

Private Methods

Method Description
SetColour ( ) : void

Method Details

FlatTerrain() public method

Constructs a flat terrain
public FlatTerrain ( Project2Game game, System.Vector3 position, float xScale, float zScale, float frontHeight = 0.0f, float backHeight = 0.0f ) : System
game Project2Game
position System.Vector3
xScale float
zScale float
frontHeight float
backHeight float
return System

GeneratePhysicsDescription() protected method

protected GeneratePhysicsDescription ( ) : RigidBody
return RigidBody

GenerateTerrainData() protected method

protected GenerateTerrainData ( ) : ].float[
return ].float[