Levels class

Constructors

Levels({String name = '', List<TileLayers>? tileLayer, List<TileAnimations>? animations, List<Object>? objects, Grid? grid, int selectedTileLayer = 0, Size? maxGridSize})

Properties

animations List<TileAnimations>
getter/setter pair
currentGridLength int
no setter
grid Grid
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasImageData bool
no setter
maxGridSize Size
getter/setter pair
name String
getter/setter pair
objects List<Object>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedTileLayer int
getter/setter pair
tileLayer List<TileLayers>
getter/setter pair

Methods

addLayer() → void
hideAtlas() → void
hideCollisions() → void
hideObjects() → void
hideTiles() → void
moveLayer(int from, int to) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLayer(int layer) → void
showAtlas() → void
showCollisions() → void
showObjects() → void
showTiles() → void
toString() String
A string representation of this object.
inherited
updateTiles(int length) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited