forked from External/mage
added draft timing
This commit is contained in:
parent
982ee064a6
commit
cb73d4a25d
11 changed files with 419 additions and 31 deletions
|
|
@ -39,10 +39,12 @@ public class DraftPickView implements Serializable {
|
|||
|
||||
protected CardsView booster;
|
||||
protected CardsView picks;
|
||||
protected int timeout;
|
||||
|
||||
public DraftPickView(DraftPlayer player) {
|
||||
public DraftPickView(DraftPlayer player, int timeout) {
|
||||
this.booster = new CardsView(player.getBooster());
|
||||
this.picks = new CardsView(player.getDeck().getSideboard());
|
||||
this.timeout = timeout;
|
||||
}
|
||||
|
||||
public CardsView getBooster() {
|
||||
|
|
@ -52,4 +54,8 @@ public class DraftPickView implements Serializable {
|
|||
public CardsView getPicks() {
|
||||
return picks;
|
||||
}
|
||||
|
||||
public int getTimeout() {
|
||||
return timeout;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue