clear triggerHandler moved to FGameState

This commit is contained in:
Maxmtg
2011-09-19 19:18:47 +00:00
parent c08920bceb
commit fb26392eda
2 changed files with 1 additions and 6 deletions

View File

@@ -435,14 +435,11 @@ public final class AllZone implements NewConstants {
* <p>Resets everything possible to set a new game.</p> * <p>Resets everything possible to set a new game.</p>
*/ */
public static void newGameCleanup() { public static void newGameCleanup() {
Singletons.getModel().getGameState().newGameCleanup(); Singletons.getModel().getGameState().newGameCleanup();
getDisplay().showCombat(""); getDisplay().showCombat("");
getDisplay().loadPrefs(); getDisplay().loadPrefs();
getInputControl().clearInput(); getInputControl().clearInput();
getColorChanger().reset(); getColorChanger().reset();
@@ -450,9 +447,6 @@ public final class AllZone implements NewConstants {
// player.reset() now handles this // player.reset() now handles this
//AllZone.getHumanPlayer().clearHandSizeOperations(); //AllZone.getHumanPlayer().clearHandSizeOperations();
//AllZone.getComputerPlayer().clearHandSizeOperations(); //AllZone.getComputerPlayer().clearHandSizeOperations();
getTriggerHandler().clearRegistered();
} }
/** /**

View File

@@ -296,6 +296,7 @@ public class FGameState {
} }
getStaticEffects().reset(); getStaticEffects().reset();
getTriggerHandler().clearRegistered();
} }
} }