LevelTile class
Tile used when generating maps meant to be used for individual levels (e.g., dungeons or caverns).
Constructors
- LevelTile(LevelTileType type, bool _isOpen)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
true if the tile is open (generally, things can move through it)
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → LevelTileType
-
final
Methods
-
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
Constants
- connector → const LevelTile
- Connection between two distinct regions (e.g., between a room and a corridor)
- corridor → const LevelTile
- Narrow space between two or more larger spaces (e.g., hallways between rooms)
- duplicateConnector → const LevelTile
- Duplicate connection between two distinct regions that have already been connected by a connector.
- room → const LevelTile
- Part of a contiguous room or larger open space
- solid → const LevelTile
- Solid ground/stone/rock; impassible