TurnAction

class TurnAction(val turn: TimeTurn, val drive: Drive) : ActionEx

Constructors

Link copied to clipboard
constructor(turn: TimeTurn, drive: Drive)

Properties

Link copied to clipboard
Link copied to clipboard
open val requirements: Set<Any>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun end(packet: TelemetryPacket)
Link copied to clipboard
open override fun init(p: TelemetryPacket)
Link copied to clipboard
open fun interruptible(onInterruption: Action): Interruptible
open fun interruptible(onInterruption: InstantFunction): Interruptible
open fun interruptible(onInterruption: () -> Action): Interruptible
Link copied to clipboard
open override fun loop(p: TelemetryPacket): Boolean
Link copied to clipboard
open fun preview(fieldOverlay: Canvas)
Link copied to clipboard
open fun race(a: Action): RaceAction
open fun race(a: () -> Action): RaceAction
Link copied to clipboard
override fun run(p: TelemetryPacket): Boolean
Link copied to clipboard
Link copied to clipboard
open fun with(a: Action): ParallelAction
open fun with(a: () -> Action): ParallelAction
Link copied to clipboard
fun withEnd(endBlock: (TelemetryPacket) -> Unit): ActionEx
Link copied to clipboard
fun withInit(initBlock: (TelemetryPacket) -> Unit): ActionEx
Link copied to clipboard
fun withLoop(loopBlock: (TelemetryPacket) -> Boolean): ActionEx
Link copied to clipboard
open fun withPreview(preview: Consumer<Canvas>): Action
open fun withPreview(preview: (Canvas) -> Unit): Action
Link copied to clipboard
open fun withRequirements(vararg reqs: Any): Action
open fun withRequirements(reqs: Set<Any>): Action