C# Class MegaMan.Common.TileLayer

Afficher le fichier Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Méthodes publiques

Méthode Description
ChangeTile ( int x, int y, int tile ) : void
ChangeTiles ( Point offset, int newTiles ) : void
GetTiles ( Point offset, int width, int height ) : ].int[
Resize ( int width, int height ) : void
ResizeTopLeft ( int width, int height ) : void
Save ( string filepath ) : void
TileAt ( int x, int y ) : Tile
TileLayer ( int tiles, Tileset tileset, int base_x, int base_y ) : System

Private Methods

Méthode Description
CreateNewTiles ( int width, int height ) : ].int[

Method Details

ChangeTile() public méthode

public ChangeTile ( int x, int y, int tile ) : void
x int
y int
tile int
Résultat void

ChangeTiles() public méthode

public ChangeTiles ( Point offset, int newTiles ) : void
offset Point
newTiles int
Résultat void

GetTiles() public méthode

public GetTiles ( Point offset, int width, int height ) : ].int[
offset Point
width int
height int
Résultat ].int[

Resize() public méthode

public Resize ( int width, int height ) : void
width int
height int
Résultat void

ResizeTopLeft() public méthode

public ResizeTopLeft ( int width, int height ) : void
width int
height int
Résultat void

Save() public méthode

public Save ( string filepath ) : void
filepath string
Résultat void

TileAt() public méthode

public TileAt ( int x, int y ) : Tile
x int
y int
Résultat Tile

TileLayer() public méthode

public TileLayer ( int tiles, Tileset tileset, int base_x, int base_y ) : System
tiles int
tileset Tileset
base_x int
base_y int
Résultat System