C# Class FBClient.TileEngine.MapLayer

Datei anzeigen Open project: Noxalus/Final-Bomber Class Usage Examples

Public Methods

Method Description
Draw ( Camera2D camera, List tilesets ) : void
GetTile ( int x, int y ) : Tile
MapLayer ( Tile map ) : System
MapLayer ( int width, int height ) : System
SetTile ( int x, int y, Tile tile ) : void
SetTile ( int x, int y, int tileIndex, int tileset ) : void

Method Details

Draw() public method

public Draw ( Camera2D camera, List tilesets ) : void
camera Camera2D
tilesets List
return void

GetTile() public method

public GetTile ( int x, int y ) : Tile
x int
y int
return Tile

MapLayer() public method

public MapLayer ( Tile map ) : System
map Tile
return System

MapLayer() public method

public MapLayer ( int width, int height ) : System
width int
height int
return System

SetTile() public method

public SetTile ( int x, int y, Tile tile ) : void
x int
y int
tile Tile
return void

SetTile() public method

public SetTile ( int x, int y, int tileIndex, int tileset ) : void
x int
y int
tileIndex int
tileset int
return void