C# Class Azmyth.Assets.TerrainChunk

Inheritance: Asset, IDisposable
Afficher le fichier Open project: GalacticSoft/Azmyth Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetTile ( int x, int y ) : TerrainTile
GetTiles ( ) : List
GetTiles ( RectangleF bounds ) : List
TerrainChunk ( World world, RectangleF chunkBounds ) : System

Loads tiles from world that are contained within chunkBounds

TerrainChunk ( World world, int offsetX, int offsetY, int radius ) : System

Loads tiles from world that are contained within chunkBounds

this ( int x, int y ) : TerrainTile
this ( TerrainTypes type ) : long

Private Methods

Méthode Description
TerrainChunk ( ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetTile() public méthode

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

GetTiles() public méthode

public GetTiles ( ) : List
Résultat List

GetTiles() public méthode

public GetTiles ( RectangleF bounds ) : List
bounds System.Drawing.RectangleF
Résultat List

TerrainChunk() public méthode

Loads tiles from world that are contained within chunkBounds
public TerrainChunk ( World world, RectangleF chunkBounds ) : System
world World
chunkBounds System.Drawing.RectangleF
Résultat System

TerrainChunk() public méthode

Loads tiles from world that are contained within chunkBounds
public TerrainChunk ( World world, int offsetX, int offsetY, int radius ) : System
world World
offsetX int
offsetY int
radius int
Résultat System

this() public méthode

public this ( int x, int y ) : TerrainTile
x int
y int
Résultat TerrainTile

this() public méthode

public this ( TerrainTypes type ) : long
type TerrainTypes
Résultat long