C# Class Treefrog.Framework.Model.StaticTileBrush

Inheritance: TileBrush
Mostra file Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
AddTile ( TileCoord coord, Tile tile ) : void
ApplyBrush ( TileGridLayer tileLayer, int x, int y ) : void
Clear ( ) : void
ClearTile ( TileCoord coord ) : void
FromXProxy ( LibraryX proxy, TilePoolManager manager ) : StaticTileBrush
MakePreview ( ) : TextureResource
MakePreview ( int maxWidth, int maxHeight ) : TextureResource
Normalize ( ) : void
RemoveTile ( TileCoord coord, Tile tile ) : void
StaticTileBrush ( string name, int tileWidth, int tileHeight ) : System
ToXProxy ( StaticTileBrush brush ) : LibraryX.StaticTileBrushX

Private Methods

Method Description
ResetExtants ( ) : void
StaticTileBrush ( LibraryX proxy, TilePoolManager manager ) : System
UpdateExtants ( TileCoord coord ) : void

Method Details

AddTile() public method

public AddTile ( TileCoord coord, Tile tile ) : void
coord TileCoord
tile Tile
return void

ApplyBrush() public method

public ApplyBrush ( TileGridLayer tileLayer, int x, int y ) : void
tileLayer TileGridLayer
x int
y int
return void

Clear() public method

public Clear ( ) : void
return void

ClearTile() public method

public ClearTile ( TileCoord coord ) : void
coord TileCoord
return void

FromXProxy() public static method

public static FromXProxy ( LibraryX proxy, TilePoolManager manager ) : StaticTileBrush
proxy LibraryX
manager TilePoolManager
return StaticTileBrush

MakePreview() public method

public MakePreview ( ) : TextureResource
return Treefrog.Framework.Imaging.TextureResource

MakePreview() public method

public MakePreview ( int maxWidth, int maxHeight ) : TextureResource
maxWidth int
maxHeight int
return Treefrog.Framework.Imaging.TextureResource

Normalize() public method

public Normalize ( ) : void
return void

RemoveTile() public method

public RemoveTile ( TileCoord coord, Tile tile ) : void
coord TileCoord
tile Tile
return void

StaticTileBrush() public method

public StaticTileBrush ( string name, int tileWidth, int tileHeight ) : System
name string
tileWidth int
tileHeight int
return System

ToXProxy() public static method

public static ToXProxy ( StaticTileBrush brush ) : LibraryX.StaticTileBrushX
brush StaticTileBrush
return LibraryX.StaticTileBrushX