C# Class EsotericIDE.Hexagony.Grid

Mostra file Open project: Timwi/EsotericIDE Class Usage Examples

Public Methods

Method Description
GetPosition ( PointAxial coords ) : Position
Parse ( string input ) : Grid
ToString ( ) : string
this ( PointAxial coords ) : char

Private Methods

Method Description
Grid ( int size, int fileLength, Position>.IEnumerable data = null ) : System
axial_to_index ( PointAxial coords ) : int>.Tuple

Method Details

GetPosition() public method

public GetPosition ( PointAxial coords ) : Position
coords PointAxial
return Position

Parse() public static method

public static Parse ( string input ) : Grid
input string
return Grid

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( PointAxial coords ) : char
coords PointAxial
return char