C# 클래스 OpenRA.TileSet

파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EditorTemplateOrder string[]
EnableDepth bool
HeightDebugColors Color[]
Id string
IgnoreTileSpriteOffsets bool
Name string
Palette string
PlayerPalette string
SheetSize int

공개 메소드들

메소드 설명
GetTerrainIndex ( TerrainTile r ) : byte
GetTerrainIndex ( string type ) : byte
GetTileInfo ( TerrainTile r ) : TerrainTileInfo
Save ( string filepath ) : void
TileSet ( ) : System.Collections.Generic
TileSet ( IReadOnlyFileSystem fileSystem, string filepath ) : System.Collections.Generic
TileSet ( string name, string id, string palette, TerrainTypeInfo terrainInfo ) : System.Collections.Generic
TryGetTerrainIndex ( string type, byte &index ) : bool
this ( byte index ) : TerrainTypeInfo

메소드 상세

GetTerrainIndex() 공개 메소드

public GetTerrainIndex ( TerrainTile r ) : byte
r TerrainTile
리턴 byte

GetTerrainIndex() 공개 메소드

public GetTerrainIndex ( string type ) : byte
type string
리턴 byte

GetTileInfo() 공개 메소드

public GetTileInfo ( TerrainTile r ) : TerrainTileInfo
r TerrainTile
리턴 TerrainTileInfo

Save() 공개 메소드

public Save ( string filepath ) : void
filepath string
리턴 void

TileSet() 공개 메소드

public TileSet ( ) : System.Collections.Generic
리턴 System.Collections.Generic

TileSet() 공개 메소드

public TileSet ( IReadOnlyFileSystem fileSystem, string filepath ) : System.Collections.Generic
fileSystem IReadOnlyFileSystem
filepath string
리턴 System.Collections.Generic

TileSet() 공개 메소드

public TileSet ( string name, string id, string palette, TerrainTypeInfo terrainInfo ) : System.Collections.Generic
name string
id string
palette string
terrainInfo TerrainTypeInfo
리턴 System.Collections.Generic

TryGetTerrainIndex() 공개 메소드

public TryGetTerrainIndex ( string type, byte &index ) : bool
type string
index byte
리턴 bool

this() 공개 메소드

public this ( byte index ) : TerrainTypeInfo
index byte
리턴 TerrainTypeInfo

프로퍼티 상세

EditorTemplateOrder 공개적으로 프로퍼티

public string[] EditorTemplateOrder
리턴 string[]

EnableDepth 공개적으로 프로퍼티

public bool EnableDepth
리턴 bool

HeightDebugColors 공개적으로 프로퍼티

public Color[] HeightDebugColors
리턴 Color[]

Id 공개적으로 프로퍼티

public string Id
리턴 string

IgnoreTileSpriteOffsets 공개적으로 프로퍼티

public bool IgnoreTileSpriteOffsets
리턴 bool

Name 공개적으로 프로퍼티

public string Name
리턴 string

Palette 공개적으로 프로퍼티

public string Palette
리턴 string

PlayerPalette 공개적으로 프로퍼티

public string PlayerPalette
리턴 string

SheetSize 공개적으로 프로퍼티

public int SheetSize
리턴 int