public void Update() { if (GlobalState != null) { GlobalState.Execute(Owner); } if (CurrentState != null) { CurrentState.Execute(Owner); } }