C# 클래스 OpenRA.Graphics.SpriteCache

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

공개 프로퍼티들

프로퍼티 타입 설명
SheetBuilder SheetBuilder

공개 메소드들

메소드 설명
AllCached ( string filename ) : IEnumerable

Returns all instances of sets of sprites with the given filename

Reload ( string filename ) : OpenRA.Graphics.Sprite[]

Loads and caches a new instance of sprites with the given filename

SpriteCache ( IReadOnlyFileSystem fileSystem, ISpriteLoader loaders, SheetBuilder sheetBuilder ) : System.Collections.Generic
this ( string filename ) : OpenRA.Graphics.Sprite[]

Returns the first set of sprites with the given filename.

비공개 메소드들

메소드 설명
LoadSprite ( string filename, List cache ) : OpenRA.Graphics.Sprite[]

메소드 상세

AllCached() 공개 메소드

Returns all instances of sets of sprites with the given filename
public AllCached ( string filename ) : IEnumerable
filename string
리턴 IEnumerable

Reload() 공개 메소드

Loads and caches a new instance of sprites with the given filename
public Reload ( string filename ) : OpenRA.Graphics.Sprite[]
filename string
리턴 OpenRA.Graphics.Sprite[]

SpriteCache() 공개 메소드

public SpriteCache ( IReadOnlyFileSystem fileSystem, ISpriteLoader loaders, SheetBuilder sheetBuilder ) : System.Collections.Generic
fileSystem IReadOnlyFileSystem
loaders ISpriteLoader
sheetBuilder SheetBuilder
리턴 System.Collections.Generic

this() 공개 메소드

Returns the first set of sprites with the given filename.
public this ( string filename ) : OpenRA.Graphics.Sprite[]
filename string
리턴 OpenRA.Graphics.Sprite[]

프로퍼티 상세

SheetBuilder 공개적으로 프로퍼티

public SheetBuilder,OpenRA.Graphics SheetBuilder
리턴 SheetBuilder