RK enum
States, actions and signals used by the Rocket model.
Constants
- saAbort → const RK
-
action: Abort launch
const RK(8) - saDecrement → const RK
-
action: Decrement counter
const RK(6) - saPause → const RK
-
action: Pause counting
const RK(7) - saResetLauncher → const RK
-
action: Reset state to RK.ssReady
const RK(9) - saRestartCtr → const RK
-
action: Restart the counter after a RK.saPause
const RK(11) - saStartCtr → const RK
-
action: Start the counter
const RK(10) - sgAborting → const RK
-
signal: Rocket is aborting
const RK(12) - sgCounting → const RK
-
signal: Rocket is counting
const RK(15) - sgLaunching → const RK
-
signal: Rocket is launching
const RK(13) - sgPausing → const RK
-
signal: Rocket is pausing
const RK(14) - ssAborted → const RK
-
state: Launch was aborted
const RK(3) - ssCounting → const RK
-
state: Counting down
const RK(2) - ssLaunched → const RK
-
state: launched and spent
const RK(1) - ssPaused → const RK
-
state: Countdown was paused.
const RK(4) - ssReady → const RK
-
state: Ready for launch
const RK(0) - ssWaiting → const RK
-
state: Counting down, counter above 10. (Missile mode only)
const RK(5) -
values
→ const List<
RK> -
A constant List of the values in this enum, in order of their declaration.
const List<RK>
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- index → int
-
The integer index of this enum.
final - 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited