mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Merged changes from trunk to GuiRefactoring: 27198-27235
This commit is contained in:
@@ -61,10 +61,7 @@ public enum CDock implements ICDoc {
|
||||
* End turn.
|
||||
*/
|
||||
public void endTurn() {
|
||||
game.autoPassUntilEndOfTurn();
|
||||
if (!CPrompt.SINGLETON_INSTANCE.passPriority()) {
|
||||
game.autoPassCancel();
|
||||
}
|
||||
CPrompt.SINGLETON_INSTANCE.passPriorityUntilEndOfTurn();
|
||||
}
|
||||
|
||||
public void revertLayout() {
|
||||
|
||||
@@ -101,6 +101,10 @@ public enum CPrompt implements ICDoc {
|
||||
return Singletons.getControl().getGameView().passPriority();
|
||||
}
|
||||
|
||||
public boolean passPriorityUntilEndOfTurn() {
|
||||
return Singletons.getControl().getGameView().passPriorityUntilEndOfTurn();
|
||||
}
|
||||
|
||||
public void selectPlayer(final PlayerView player, final ITriggerEvent triggerEvent) {
|
||||
Singletons.getControl().getGameView().selectPlayer(player, triggerEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user