#include "Behaviors/StateMachine.h"

$nodeclass NodWhileTalking : StateNode
{
	$nodeclass Nod : DynamicMotionSequenceNode : doStart{
		update("nodyes.mot");
	}

	$setupmachine {
		launch: StateNode =N=> {nod, speech}
		speech: SpeechNode("Yes indeed")
		nod: Nod
	}	
}

REGISTER_BEHAVIOR(NodWhileTalking);
