Wiki
Clone wikiRogueSharp / RogueSharp / IMap / CellFor
IMapCellFor Method
Get the Cell at the specified single dimensional array index using the formulas: x = index % Width; y = index / Width;
Namespace: RogueSharp
Assembly:
Syntax
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
See Also
Reference
IMap Interface
RogueSharp Namespace
[4]: 2014-2016 Faron Bracy
Updated