Wiki
Clone wikiRogueSharp / RogueSharp / Map / GetBorderCellsInRadius
MapGetBorderCellsInRadius Method
Get an IEnumerable of the outermost border Cells in a circular Radius around the Origin Cell
Namespace: RogueSharp
Assembly:
Syntax
public IEnumerable<Cell> GetBorderCellsInRadius( int xOrigin, int yOrigin, int radius )
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
radius
Type: SystemInt32
The radius from the Origin Cell in which the border Cells lie
Return Value
Type: IEnumerableCell
IEnumerable of the outermost border Cells in a circular Radius around the Origin Cell
Implements
IMapGetBorderCellsInRadius(Int32, Int32, Int32)
See Also
Reference
Map Class
RogueSharp Namespace
[5]: 2014-2016 Faron Bracy
Updated