mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Support changing planeswalkers to any you unlock
This commit is contained in:
@@ -155,6 +155,17 @@ public final class ConquestData {
|
||||
return planeswalkerToken;
|
||||
}
|
||||
|
||||
public Iterable<PaperCard> getSortedPlaneswalkers() {
|
||||
List<PaperCard> planeswalkers = new ArrayList<PaperCard>();
|
||||
for (PaperCard card : unlockedCards) {
|
||||
if (card.getRules().getType().isPlaneswalker()) {
|
||||
planeswalkers.add(card);
|
||||
}
|
||||
}
|
||||
Collections.sort(planeswalkers);
|
||||
return planeswalkers;
|
||||
}
|
||||
|
||||
public ConquestPlane getCurrentPlane() {
|
||||
return currentLocation.getPlane();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user