Wiki

Clone wiki

RogueSharp / RogueSharp / Map / Clear_1

MapClear Method (Boolean, Boolean)

Sets the properties of all Cells in the Map to the specified values

Namespace: RogueSharp
Assembly:

Syntax

public void Clear(
    bool isTransparent,
    bool isWalkable
)

Parameters

isTransparent

Type: SystemBoolean
Optional parameter defaults to false if not provided. True if line-of-sight is not blocked by this Cell. False otherwise

isWalkable

Type: SystemBoolean
Optional parameter defaults to false if not provided. True if a character could walk across the Cell normally. False otherwise

Implements

IMapClear(Boolean, Boolean)

See Also

Reference

Map Class
RogueSharp Namespace

[4]: 2014-2016 Faron Bracy

Updated