WhileAction

data class WhileAction(val condition: Value, val actions: List<Action>) : Action

Action that executes a list of actions while a condition is true.

Parameters

condition

Condition to check

actions

Actions to execute while condition is true

Constructors

Link copied to clipboard
constructor(condition: Value, actions: List<Action>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val algorithmString: String

String representation of the action

Link copied to clipboard

Functions

Link copied to clipboard
open override fun execute(context: Context): Context

Execute the action in the given context