C# Class CEngineSharp_Editor.World.Map

Show file Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Public Methods

Method Description
Draw ( RenderWindow window, int left, int top, int width, int height ) : void
GetTile ( int x, int y ) : Tile
LoadMap ( string filePath, List tileSetTextures ) : Map
Map ( ) : System
ResizeMap ( int newWidth, int newHeight ) : void
Save ( string filePath, List tileSetSprites ) : void
SetTile ( int x, int y, Tile tile ) : void

Method Details

Draw() public method

public Draw ( RenderWindow window, int left, int top, int width, int height ) : void
window SFML.Graphics.RenderWindow
left int
top int
width int
height int
return void

GetTile() public method

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

LoadMap() public static method

public static LoadMap ( string filePath, List tileSetTextures ) : Map
filePath string
tileSetTextures List
return Map

Map() public method

public Map ( ) : System
return System

ResizeMap() public method

public ResizeMap ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
return void

Save() public method

public Save ( string filePath, List tileSetSprites ) : void
filePath string
tileSetSprites List
return void

SetTile() public method

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