C# Class spaceconquest.GameObject

显示文件 Open project: cclay/spaceconquest Class Usage Examples

Public Properties

Property Type Description
hex Hex3D

Public Methods

Method Description
Draw ( Matrix world, Matrix view, Matrix projection ) : void
DrawGhost ( Matrix world, Matrix view, Matrix projection ) : void
SetHex ( Hex3D h ) : void
getCenter ( ) : Vector3

Method Details

Draw() public abstract method

public abstract Draw ( Matrix world, Matrix view, Matrix projection ) : void
world Matrix
view Matrix
projection Matrix
return void

DrawGhost() public method

public DrawGhost ( Matrix world, Matrix view, Matrix projection ) : void
world Matrix
view Matrix
projection Matrix
return void

SetHex() public method

public SetHex ( Hex3D h ) : void
h Hex3D
return void

getCenter() public method

public getCenter ( ) : Vector3
return Vector3

Property Details

hex public_oe property

public Hex3D,spaceconquest hex
return Hex3D