WorldBuildData class
Constructors
-
WorldBuildData({required WorldMap map, List<
GameComponent> ? components, List<GameComponent> ? mapChildren, List<LightingOccluder> lightingOccluders = const []})
Properties
-
components
→ List<
GameComponent> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lightingOccluders
→ List<
LightingOccluder> -
Occluders declared in Tiled through layers/objects with the
lighting_occluderclass. Registered by WorldMapByTiled.final - map → WorldMap
-
final
-
mapChildren
→ List<
GameComponent> ? -
Decorations that must render as children of the tile map (e.g. oversized
tiles from Tiled whose stacking must follow the layer order instead of
the dynamic Y-sort used by game-level components).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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