internal void JumpTo(int position)
{
if (!(position >= 0 && position < NumStepActions))
{
throw new AnimationStateException(
String.Format(
"Invalid jump point '{0}'. Value must be between 0 and the " +
"number of step actions - 1 (inclusive).", position
)
);
}
jumpPoint = position;
}