Layer class

Constructors

Layer({required int? id, required List<Tile> tiles, String? name, String? layerClass, bool visible = true, Vector2? position, Vector2? offset, double opacity = 1, Map<String, dynamic>? properties, int priority = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
id int?
final
layerClass String?
final
name String?
final
offset Vector2
final
opacity double
final
position Vector2
final
priority int
final
properties Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tiles List<Tile>
getter/setter pair
visible bool
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