Wiki

Clone wiki

RogueSharp / RogueSharp / Map / ToString

MapToString Method

Provides a simple visual representation of the map using the following symbols: - .: Cell is transparent and walkable - s: Cell is walkable (but not transparent) - o: Cell is transparent (but not walkable) - #: Cell is not transparent or walkable

Namespace: RogueSharp
Assembly:

Syntax

public override string ToString()

Return Value

Type: String
A string representation of the map using special symbols to denote Cell properties

Remarks

This call ignores field-of-view. If field-of-view is important use the ToString overload with a "true" parameter

See Also

Reference

Map Class
RogueSharp Namespace

[3]: 2014-2016 Faron Bracy

Updated