Wiki
Clone wikiRogueSharp / RogueSharp / Map / CellFor
MapCellFor Method
Get the Cell at the specified single dimensional array index using the formulas: x = index % Width; y = index / Width;
Namespace: RogueSharp
Assembly:
Syntax
public Cell CellFor( int index )
Parameters
index
Type: SystemInt32
The single dimensional array index for the Cell that we want to get
Return Value
Type: Cell
Cell at the specified single dimensional array index
Implements
See Also
Reference
Map Class
RogueSharp Namespace
[5]: 2014-2016 Faron Bracy
Updated