Formula Actions - CMUCTAT/CTAT GitHub Wiki
These functions are performing actions on the current CTAT behavior graph as side effects.
goToState(state)
-
Arguments:
-
state:
<String>- state name
-
state:
- Result: - none
- Description: Moves the behavior graph to the specified state.
goToStartState()
- Arguments: - none
- Result: - none
- Description: Returns the behavior graph to the start state.
performInterfaceAction(selection, action, input)
-
Arguments:
-
selection:
<String>- selection name -
action:
<String>- action name -
input:
<String>- input value
-
selection:
- Result: - none
- Description: Simulates the student preforming an interface action specified by selection, action, input. For more information on SAI's see CTAT Behavior Graphs.