Wiki
Clone wikiRogueSharp / RogueSharp / IMap / SetCellProperties
IMapSetCellProperties Method (Int32, Int32, Boolean, Boolean)
Set the properties of an unexplored Cell to the specified values
Namespace: RogueSharp
Assembly:
Syntax
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
Remarks
IsInFov cannot be set through this method as it is always calculated by calling ComputeFov and/or AppendFov
See Also
Reference
IMap Interface
RogueSharp Namespace
[3]: 2014-2016 Faron Bracy
Updated