diff --git a/Mage.Common/src/mage/view/GameView.java b/Mage.Common/src/mage/view/GameView.java index cee7d36010d..0578d2c121c 100644 --- a/Mage.Common/src/mage/view/GameView.java +++ b/Mage.Common/src/mage/view/GameView.java @@ -57,6 +57,7 @@ public class GameView implements Serializable { private String activePlayerName = ""; private String priorityPlayerName = ""; private int turn; + private boolean special = false; public GameView(GameState game) { for (Player player: game.getPlayers().values()) { @@ -83,6 +84,7 @@ public class GameView implements Serializable { for (CombatGroup combatGroup: game.getCombat().getGroups()) { combat.add(new CombatGroupView(combatGroup, game)); } + this.special = game.getSpecialActions().getControlledBy(game.getPriorityPlayerId()).size() > 0; } public List getPlayers() { @@ -128,4 +130,8 @@ public class GameView implements Serializable { public String getPriorityPlayerName() { return priorityPlayerName; } + + public boolean getSpecial() { + return special; + } }