void () { myState1 = new MyState(false, "state1"); myState2 = new MyState(false, "state2"); myState3 = new MyState(false, "state3"); myEditorState = myState1; makeNavigationChange(myState2); makeNavigationChange(myState3); }