Wiki
Clone wikiRogueSharp / RogueSharp / IMap / SetCellProperties_1
IMapSetCellProperties Method (Int32, Int32, Boolean, Boolean, Boolean)
Set the properties of a Cell to the specified values
Namespace: RogueSharp
Assembly:
Syntax
void SetCellProperties( int x, int y, bool isTransparent, bool isWalkable, bool isExplored )
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
isExplored
Type: SystemBoolean
Optional parameter defaults to false if not provided. True if the Cell has ever been in the field-of-view of the player. 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