C# Class OpenRA.MapGrid

Inheritance: IGlobalModData
Show file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
DefaultSubCell SubCell
EnableDepthBuffer bool
MaximumTerrainHeight byte
MaximumTileSearchRange int
SubCellOffsets OpenRA.WVec[]
TileSize System.Drawing.Size
Type MapGridType

Public Methods

Method Description
MapGrid ( MiniYaml yaml ) : System.Collections.Generic
OffsetOfSubCell ( SubCell subCell ) : OpenRA.WVec

Private Methods

Method Description
CreateTilesByDistance ( ) : OpenRA.CVec[][]

Method Details

MapGrid() public method

public MapGrid ( MiniYaml yaml ) : System.Collections.Generic
yaml MiniYaml
return System.Collections.Generic

OffsetOfSubCell() public method

public OffsetOfSubCell ( SubCell subCell ) : OpenRA.WVec
subCell SubCell
return OpenRA.WVec

Property Details

DefaultSubCell public property

public SubCell DefaultSubCell
return SubCell

EnableDepthBuffer public property

public bool EnableDepthBuffer
return bool

MaximumTerrainHeight public property

public byte MaximumTerrainHeight
return byte

MaximumTileSearchRange public property

public int MaximumTileSearchRange
return int

SubCellOffsets public property

public WVec[],OpenRA SubCellOffsets
return OpenRA.WVec[]

TileSize public property

public Size,System.Drawing TileSize
return System.Drawing.Size

Type public property

public MapGridType Type
return MapGridType