Possibility to view other player's hands in UI.

This commit is contained in:
magenoxx 2011-08-04 21:51:00 +04:00
parent 752569874d
commit f3334c6e92
3 changed files with 94 additions and 9 deletions

View file

@ -31,6 +31,7 @@ package mage.view;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import mage.MageObject;
@ -56,6 +57,7 @@ public class GameView implements Serializable {
private List<PlayerView> players = new ArrayList<PlayerView>();
private CardsView hand;
private Map<String, CardsView> opponentHands;
private CardsView stack = new CardsView();
private List<ExileView> exiles = new ArrayList<ExileView>();
private List<RevealedView> revealed = new ArrayList<RevealedView>();
@ -124,6 +126,14 @@ public class GameView implements Serializable {
this.hand = hand;
}
public Map<String, CardsView> getOpponentHands() {
return opponentHands;
}
public void setOpponentHands(Map<String, CardsView> opponentHands) {
this.opponentHands = opponentHands;
}
public TurnPhase getPhase() {
return phase;
}