Gates

object Gates

Contains and manages information about the gates.

Functions

Link copied to clipboard

Gets the extended state for the specified color.

Link copied to clipboard

Returns the corresponding start state for the current state, or null if not exactly 3 gates are closed.

Link copied to clipboard
fun reset()

Restes all gates to open

Link copied to clipboard

Sets the extended state for the specified color to the given state.

Properties

Link copied to clipboard
var blue: Boolean = false
Link copied to clipboard
var green: Boolean = false
Link copied to clipboard
var orange: Boolean = false
Link copied to clipboard
var purple: Boolean = false
Link copied to clipboard
var red: Boolean = false