LevelController class
The LevelController can be instantiated to control a specific level It automatically calls methods of the LevelLoader and the Level to load and start a level.
Constructors
Properties
- level ↔ Level
-
Reference to the model implementation of the level
read / write
- timer ↔ Timer
-
A timer used for counting down the level duration
read / write
- 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
Methods
-
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
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
loadAndStart(
AppController ac, int level) → void -
Loads a new LevelController and starts the specific
level
Constants
- sensitivity → const int
-
It is the sensitivity with which the Dozer is controlled.
High value means less sensitivity and faster movement and vice versa.
4