private void OnForwardTimerElapsed(object sender, EventArgs e) { _forwardTimer.Reset(); Backward(); _state = MoveState.MoveBack; _backwardTimer.Start(); }
private void OnBackwardTimerElapsed(object sender, EventArgs e) { _backwardTimer.Reset(); _state = MoveState.Start; CompleteLoop(); //keep running until told to do otherwise. }