Instantiates model and view, controls the start/end of the game and passes input from the user onto the model.

Static Properties

interval → dynamic

Tick interval

final

Constructors

GameController()

Constructor

Properties

gameMode GameMode

Model instance

read / write
gameView GameView

View instance

read / write
levelManager LevelManager

LevelManager instance

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

Operators

operator ==(other) → bool

The equality operator.

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