mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
* Added logic to auto select replacement effects. Some changes to counter size and font size handling.
This commit is contained in:
parent
ab9c0ae893
commit
df71237f46
28 changed files with 445 additions and 140 deletions
|
|
@ -32,6 +32,7 @@ import java.io.Serializable;
|
|||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import mage.choices.Choice;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -50,6 +51,7 @@ public class GameClientMessage implements Serializable {
|
|||
private int min;
|
||||
private int max;
|
||||
private Map<String, Serializable> options;
|
||||
private Choice choice;
|
||||
|
||||
public GameClientMessage(GameView gameView) {
|
||||
this.gameView = gameView;
|
||||
|
|
@ -101,6 +103,10 @@ public class GameClientMessage implements Serializable {
|
|||
this.message = name;
|
||||
}
|
||||
|
||||
public GameClientMessage(Choice choice) {
|
||||
this.choice = choice;
|
||||
}
|
||||
|
||||
public GameView getGameView() {
|
||||
return gameView;
|
||||
}
|
||||
|
|
@ -144,4 +150,9 @@ public class GameClientMessage implements Serializable {
|
|||
public Map<String, Serializable> getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
public Choice getChoice() {
|
||||
return choice;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue