Continuing implementation of Planechase.

This commit is contained in:
spjspj 2018-04-14 23:09:37 +10:00
parent 611b48fd47
commit a828050ae1
5 changed files with 113 additions and 29 deletions

View file

@ -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";
}
}

View file

@ -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;
}