C# Class OpenRA.TerrainTemplateInfo

ファイルを表示 Open project: pchote/OpenRA

Public Properties

Property Type Description
Category string
Frames int[]
Id ushort
Images string[]
Palette string
PickAny bool
Size OpenRA.int2

Public Methods

Method Description
Contains ( int index ) : bool
Save ( TileSet tileSet ) : MiniYaml
TerrainTemplateInfo ( TileSet tileSet, MiniYaml my ) : System.Collections.Generic
TerrainTemplateInfo ( ushort id, string images, OpenRA.int2 size, byte tiles ) : System.Collections.Generic
this ( int index ) : TerrainTileInfo

Private Methods

Method Description
LoadTileInfo ( TileSet tileSet, MiniYaml my ) : TerrainTileInfo

Method Details

Contains() public method

public Contains ( int index ) : bool
index int
return bool

Save() public method

public Save ( TileSet tileSet ) : MiniYaml
tileSet TileSet
return MiniYaml

TerrainTemplateInfo() public method

public TerrainTemplateInfo ( TileSet tileSet, MiniYaml my ) : System.Collections.Generic
tileSet TileSet
my MiniYaml
return System.Collections.Generic

TerrainTemplateInfo() public method

public TerrainTemplateInfo ( ushort id, string images, OpenRA.int2 size, byte tiles ) : System.Collections.Generic
id ushort
images string
size OpenRA.int2
tiles byte
return System.Collections.Generic

this() public method

public this ( int index ) : TerrainTileInfo
index int
return TerrainTileInfo

Property Details

Category public_oe property

public string Category
return string

Frames public_oe property

public int[] Frames
return int[]

Id public_oe property

public ushort Id
return ushort

Images public_oe property

public string[] Images
return string[]

Palette public_oe property

public string Palette
return string

PickAny public_oe property

public bool PickAny
return bool

Size public_oe property

public int2,OpenRA Size
return OpenRA.int2