Wiki
Clone wikiRogueSharp / RogueSharp / Map / SetCellProperties
MapSetCellProperties Method (Int32, Int32, Boolean, Boolean)
Set the properties of an unexplored Cell to the specified values
Namespace: RogueSharp
Assembly:
Syntax
public void SetCellProperties( int x, int y, bool isTransparent, bool isWalkable )
Parameters
x
Type: SystemInt32
X location of the Cell to set properties on, starting with 0 as the farthest left
y
Type: SystemInt32
Y location of the Cell to set properties on, starting with 0 as the top
isTransparent
Type: SystemBoolean
True if line-of-sight is not blocked by this Cell. False otherwise
isWalkable
Type: SystemBoolean
True if a character could walk across the Cell normally. False otherwise
Implements
IMapSetCellProperties(Int32, Int32, Boolean, Boolean)
Remarks
IsInFov cannot be set through this method as it is always calculated by calling ComputeFov and/or AppendFov
See Also
Reference
Map Class
RogueSharp Namespace
[4]: 2014-2016 Faron Bracy
Updated