Wiki

Clone wiki

RogueSharp / RogueSharp / Cell / _ctor

Cell Constructor (Int32, Int32, Boolean, Boolean, Boolean)

Construct a new unexplored Cell located at the specified x and y location with the specified properties

Namespace: RogueSharp
Assembly:

Syntax

public Cell(
    int x,
    int y,
    bool isTransparent,
    bool isWalkable,
    bool isInFov
)

Parameters

x

Type: SystemInt32
X location of the Cell starting with 0 as the farthest left

y

Type: SystemInt32
Y location of the Cell starting with 0 as the top

isTransparent

Type: SystemBoolean
Is there a clear line-of-sight through this Cell

isWalkable

Type: SystemBoolean
Could a character could normally walk across the Cell without difficulty

isInFov

Type: SystemBoolean
Is the Cell currently in the currently observable field-of-view

See Also

Reference

Cell Class
RogueSharp Namespace

[3]: 2014-2016 Faron Bracy

Updated