Minor fix.

This commit is contained in:
Doublestrike
2012-03-03 12:31:45 +00:00
parent 336adca866
commit 72d706d647
2 changed files with 0 additions and 21 deletions

View File

@@ -182,17 +182,6 @@ public enum FControl {
return Singletons.getView().getViewMatch().getControl(); return Singletons.getView().getViewMatch().getControl();
} }
/** Gets the home controller.
* @return {@link forge.control.home.ControlHomeUI} */
public ControlHomeUI getControlHome() {
if (getState() != FControl.HOME_SCREEN) {
throw new IllegalArgumentException("FControl$getControlHome\n"
+ "may only be called while the home UI is showing.");
}
throw new NullPointerException("Fix Me"); //return Singletons.getView().getViewHome().getControl();
}
/** /**
* Returns the int reflecting the current state of the top level frame * Returns the int reflecting the current state of the top level frame
* (see field definitions and class methods for details). * (see field definitions and class methods for details).

View File

@@ -295,17 +295,7 @@ public class QuestWinLoseHandler extends ControlWinLose {
Singletons.getControl().changeState(FControl.HOME_SCREEN); Singletons.getControl().changeState(FControl.HOME_SCREEN);
// Update as necessary.
/* if ((Singletons.getView().getViewHome().getViewQuest().getPnlDuels().isVisible())) {
Singletons.getView().getViewHome().getViewQuest().showDuelsTab();
}
else if (Singletons.getView().getViewHome().getViewQuest().getPnlChallenges().isVisible()) {
Singletons.getView().getViewHome().getViewQuest().showChallengesTab();
}
Singletons.getView().getViewHome().showQuestMenu();*/
GuiUtils.closeOverlay(); GuiUtils.closeOverlay();
throw new NullPointerException("Fix me");
} }
/** /**