public void Update() { stateMachine.Move(); destination = stateMachine.GetDestination(); source = stateMachine.GetSource(); }