Wiki
Clone wikiRogueSharp / RogueSharp / IMap / IndexFor
IMapIndexFor Method (Cell)
Get the single dimensional array index for the specified Cell
Namespace: RogueSharp
Assembly:
Syntax
int IndexFor( Cell cell )
Parameters
cell
Type: RogueSharpCell
The Cell to get the index for
Return Value
Type: Int32
An index for the Cell which is useful if storing Cells in a single dimensional array
See Also
Reference
IMap Interface
RogueSharp Namespace
[4]: 2014-2016 Faron Bracy
Updated