mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
clear triggerHandler moved to FGameState
This commit is contained in:
@@ -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();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -296,6 +296,7 @@ public class FGameState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getStaticEffects().reset();
|
getStaticEffects().reset();
|
||||||
|
getTriggerHandler().clearRegistered();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user