public void Slow(float fraction) { // Force a new path if the sheep was angry before. if (demeanor == Demeanor.Angry) { stateMachine.SetState("Idle"); } demeanor = demeanor.Decrement(); slowFraction = fraction; }