mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Merge pull request #4754 from spjspj/master
Continuing implementation of Planechase.
This commit is contained in:
commit
2f966b7a2c
5 changed files with 113 additions and 29 deletions
|
|
@ -51,6 +51,6 @@ public enum MainPhaseStackEmptyCondition implements Condition {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "during the main phase when the stack is empty";
|
||||
return "during your main phase when the stack is empty";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -457,6 +457,17 @@ public class GameState implements Serializable, Copyable<GameState> {
|
|||
return designations;
|
||||
}
|
||||
|
||||
public Plane getCurrentPlane() {
|
||||
if (command != null && command.size() > 0) {
|
||||
for (CommandObject cobject : command) {
|
||||
if (cobject instanceof Plane) {
|
||||
return (Plane) cobject;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<String> getSeenPlanes() {
|
||||
return seenPlanes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue