Wiki
Clone wikiRogueSharp / RogueSharp / IMap / GetBorderCellsInArea
IMapGetBorderCellsInArea Method
Get an IEnumerable of the outermost border Cells in a square around the Origin Cell
Namespace: RogueSharp
Assembly:
Syntax
IEnumerable<Cell> GetBorderCellsInArea( int xOrigin, int yOrigin, int distance )
Parameters
xOrigin
Type: SystemInt32
X location of the Origin Cell with 0 as the farthest left
yOrigin
Type: SystemInt32
Y location of the Origin Cell with 0 as the top
distance
Type: SystemInt32
The distance from the Origin Cell in which the border Cells lie
Return Value
Type: IEnumerableCell
IEnumerable of the outermost border Cells in a square around the Origin Cell
See Also
Reference
IMap Interface
RogueSharp Namespace
[4]: 2014-2016 Faron Bracy
Updated