C# Class CEngineSharp_Editor.World.Map

Afficher le fichier Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

GetTile() public méthode

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

LoadMap() public static méthode

public static LoadMap ( string filePath, List tileSetTextures ) : Map
filePath string
tileSetTextures List
Résultat Map

Map() public méthode

public Map ( ) : System
Résultat System

ResizeMap() public méthode

public ResizeMap ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
Résultat void

Save() public méthode

public Save ( string filePath, List tileSetSprites ) : void
filePath string
tileSetSprites List
Résultat void

SetTile() public méthode

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