mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Minor fix.
This commit is contained in:
@@ -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).
|
||||||
|
|||||||
@@ -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");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user