Level loads, parses and holds the data of a single level.json

Constructors

Level(String _path)

Creates a new level with the given path, unloaded at first

Properties

actors → List<ActorData>

read-only
path → String

read-only
ready → bool

read-only
size → Vector2

read-only
spawnText → String

read-only
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

load() → Future

Loads the level

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited