GridStringerAnsi class
GridStringerAnsi converts a GridWorld to a multi-line ANSI string.
The string includes ANSI terminal control sequences to paint. See: https://en.wikipedia.org/wiki/ANSI_escape_code#Unix-like_systems
- Inheritance
-
- Object
- GridStringer
- GridStringerAnsi
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asString(
GridWorld w) → String -
Returns the GridWorld as an ANSI animation.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited