Running class Null safety

State while we're running a program. While we're in this state, our Controller stays in Running, but we create a RunningController that has its own ControllerState.

Inheritance

Constructors

Running(Controller c)

Properties

controller Controller
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
model Model<Operation>
read-only, inherited
program ProgramMemory<Operation>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buttonDown(Operation key) → void
override
buttonUp(Operation key) → void
override
changeState<T extends ControllerState>(T v) → T
@protected, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onChangedTo() → void
Called by the controller when this state is changed to
inherited
toString() String
A string representation of this object. [...]
inherited
unreachable() → void
Convenience method to call from an unreachable operation on a state
@protected, inherited

Operators

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