private void tabPage3_Enter() { if ((this.lastTab != 2) && !this.ignore) { GFXLibrary.Instance.changeView(GFXLibrary.getPanelDescFromID(0xcb)); this.lastTab = 2; this.tabChangeCallback(2); } }
private void tabPage2_Enter() { if ((this.lastTab != 1) && !this.ignore) { GFXLibrary.Instance.changeView(GFXLibrary.getPanelDescFromID(0xca)); this.lastTab = 1; GameEngine.Instance.forceResetVillageIfChangedFromCapital(); this.tabChangeCallback(1); } }
private void tabPage9_Enter() { if ((this.lastTab != 8) && !this.ignore) { GFXLibrary.Instance.changeView(GFXLibrary.getPanelDescFromID(0xd1)); this.lastTab = 8; GameEngine.Instance.GameDisplayMode = GameEngine.GameDisplays.DISPLAY_TEMP_DUMMY; GameEngine.Instance.ResetVillageIfChangedFromCapital(); this.tabChangeCallback(8); } }