C# Class OpenRA.Graphics.SpriteCache

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Свойство Type Description
SheetBuilder SheetBuilder

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
LoadSprite ( string filename, List cache ) : OpenRA.Graphics.Sprite[]

Method Details

AllCached() public méthode

Returns all instances of sets of sprites with the given filename
public AllCached ( string filename ) : IEnumerable
filename string
Résultat IEnumerable

Reload() public méthode

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

SpriteCache() public méthode

public SpriteCache ( IReadOnlyFileSystem fileSystem, ISpriteLoader loaders, SheetBuilder sheetBuilder ) : System.Collections.Generic
fileSystem IReadOnlyFileSystem
loaders ISpriteLoader
sheetBuilder SheetBuilder
Résultat System.Collections.Generic

this() public méthode

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

Property Details

SheetBuilder public_oe property

public SheetBuilder,OpenRA.Graphics SheetBuilder
Résultat SheetBuilder