#include "Behaviors/StateMachine.h"

$nodeclass Lab2part1 : StateNode {
  $setupmachine{

    launch: StateNode =N=> wait

    wait: StateNode =B(RobotInfo::PlayButOffset)=> flash

    flash: LedNode [getMC()->flash(RobotInfo::PlayLEDMask, 1.0, 1000)]
    flash =C=> wait
  }

}

REGISTER_BEHAVIOR(Lab2part1);
