Wiki
Clone wikiRogueSharp / RogueSharp / IMap / ToString
IMapToString Method
Provides a simple visual representation of the map using the following symbols: - %
: Cell
is not in field-of-view - .
: Cell
is transparent, walkable, and in field-of-view - s
: Cell
is walkable and in field-of-view (but not transparent) - o
: Cell
is transparent and in field-of-view (but not walkable) - #
: Cell
is in field-of-view (but not transparent or walkable)
Namespace: RogueSharp
Assembly:
Syntax
string ToString( bool useFov )
Parameters
useFov
Type: SystemBoolean
True if field-of-view calculations will be used when creating the string represenation of the Map. False otherwise
Return Value
Type: String
A string representation of the map using special symbols to denote Cell properties
See Also
Reference
IMap Interface
RogueSharp Namespace
[3]: 2014-2016 Faron Bracy
Updated