added sorting and counts to deck editor

This commit is contained in:
BetaSteward 2011-02-11 22:57:22 -05:00
parent f36254445a
commit d217d332b6
15 changed files with 372 additions and 507 deletions

View file

@ -92,4 +92,23 @@ public final class Constants {
Sideboard
}
public enum SortBy {
CASTING_COST ("Casting Cost"),
RARITY ("Rarity"),
COLOR ("Color"),
NAME ("Name"),
UNSORTED ("Unsorted");
private String text;
SortBy(String text) {
this.text = text;
}
@Override
public String toString() {
return text;
}
}
}