root
JVM
root
/
org.magiclib.subsystems
/
MagicSubsystem
/
onStateSwitched
on
State
Switched
open
fun
onStateSwitched
(
oldState
:
MagicSubsystem.State
)
Called when the state is switched to something else.
Parameters
old
State
the old state of the subsystem