C# Class Dwarrowdelf.Client.TileSetLoader

Mostra file Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
GetTileBitmap ( SymbolID symbolID, int size ) : System.Windows.Media.Imaging.BitmapSource
Load ( ) : void
TileSetLoader ( string path ) : System

Private Methods

Method Description
CreateCharDrawing ( CharGfx gfx ) : System.Windows.Media.Drawing
CreateVectorDrawing ( DrawingGfx gfx ) : System.Windows.Media.Drawing
DecideGfx ( Symbol symbol ) : GfxBase
DecideTileGfx ( Symbol symbol, int size ) : GfxBase
GetBitmapGfx ( BitmapGfx gfx, int size ) : System.Windows.Media.Imaging.BitmapSource
GetVectorGfx ( VectorGfxBase gfx ) : System.Windows.Media.Drawing
IsPowerOfTwo ( uint x ) : bool
LoadBitmapResource ( string name ) : System.Windows.Media.Imaging.BitmapSource
LoadDrawingResource ( string drawingsName ) : Drawing>.Dictionary
LoadSymbolSet ( string symbolInfoName ) : SymbolSet
ParseSizes ( string sizeStr ) : uint

Method Details

GetTileBitmap() public method

public GetTileBitmap ( SymbolID symbolID, int size ) : System.Windows.Media.Imaging.BitmapSource
symbolID SymbolID
size int
return System.Windows.Media.Imaging.BitmapSource

Load() public method

public Load ( ) : void
return void

TileSetLoader() public method

public TileSetLoader ( string path ) : System
path string
return System