mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
[Mobile] add Experimental Rollback Phase
This commit is contained in:
@@ -51,6 +51,7 @@ import forge.ImageCache;
|
||||
import forge.LobbyPlayer;
|
||||
import forge.Singletons;
|
||||
import forge.StaticData;
|
||||
import forge.ai.GameState;
|
||||
import forge.assets.FSkinProp;
|
||||
import forge.card.CardStateName;
|
||||
import forge.control.KeyboardShortcuts;
|
||||
@@ -620,6 +621,11 @@ public final class CMatchUI
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public GameState getGamestate() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<JMenu> getMenus() {
|
||||
return menus.getMenus();
|
||||
@@ -771,7 +777,7 @@ public final class CMatchUI
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updatePhase() {
|
||||
public void updatePhase(boolean saveState) {
|
||||
final PlayerView p = getGameView().getPlayerTurn();
|
||||
final PhaseType ph = getGameView().getPhase();
|
||||
// this should never happen, but I've seen it periodically... so, need to get to the bottom of it
|
||||
|
||||
Reference in New Issue
Block a user