forked from External/mage
[CLB] Implemented White Plume Adventurer
This commit is contained in:
parent
4777466b50
commit
86dad5e54f
13 changed files with 524 additions and 9 deletions
|
|
@ -76,6 +76,7 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
private UUID priorityPlayerId; // player that has currently priority
|
||||
private UUID playerByOrderId; // player that has currently priority
|
||||
private UUID monarchId; // player that is the monarch
|
||||
private UUID initiativeId; // player that has the initiative
|
||||
private SpellStack stack;
|
||||
private Command command;
|
||||
private boolean isPlaneChase;
|
||||
|
|
@ -144,6 +145,7 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
this.priorityPlayerId = state.priorityPlayerId;
|
||||
this.playerByOrderId = state.playerByOrderId;
|
||||
this.monarchId = state.monarchId;
|
||||
this.initiativeId = state.initiativeId;
|
||||
this.turn = state.turn.copy();
|
||||
|
||||
this.stack = state.stack.copy();
|
||||
|
|
@ -249,6 +251,7 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
this.playerByOrderId = state.playerByOrderId;
|
||||
this.priorityPlayerId = state.priorityPlayerId;
|
||||
this.monarchId = state.monarchId;
|
||||
this.initiativeId = state.initiativeId;
|
||||
this.stack = state.stack;
|
||||
this.command = state.command;
|
||||
this.isPlaneChase = state.isPlaneChase;
|
||||
|
|
@ -482,6 +485,14 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
this.monarchId = monarchId;
|
||||
}
|
||||
|
||||
public UUID getInitiativeId() {
|
||||
return initiativeId;
|
||||
}
|
||||
|
||||
public void setInitiativeId(UUID initiativeId) {
|
||||
this.initiativeId = initiativeId;
|
||||
}
|
||||
|
||||
public UUID getChoosingPlayerId() {
|
||||
return choosingPlayerId;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue