C# Class TileServer, tilemap

Inheritance: ITileServer
Datei anzeigen Open project: stalexwang/tilemap Class Usage Examples

Public Methods

Method Description
GetTileData ( int x, int y ) : ITileResult
TileServer ( int m, int n, int maxData, int interval, int latency ) : System

Initializes a new instance of the TileServer class.

Private Methods

Method Description
GenerateRandomTileData ( ) : void
Update ( ) : void

Method Details

GetTileData() public method

public GetTileData ( int x, int y ) : ITileResult
x int
y int
return ITileResult

TileServer() public method

Initializes a new instance of the TileServer class.
public TileServer ( int m, int n, int maxData, int interval, int latency ) : System
m int /// M is the length of 1st dimension. ///
n int /// N is the lenght of 2nd dimension. ///
maxData int /// maxData is the maximum value of the data in a tile. ///
interval int
latency int
return System