From e78bbcd4fefeaedb551a3fec21547349fddf2e9b Mon Sep 17 00:00:00 2001 From: BetaSteward Date: Sun, 2 May 2010 15:12:02 +0000 Subject: [PATCH] ... --- Mage.Common/src/mage/view/GameView.java | 6 ++++++ 1 file changed, 6 insertions(+) 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; + } }