mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
[LTR] Implement Pippin, Guardian of the Citadel
This commit is contained in:
parent
bcaaf4101e
commit
d0cc29cac4
3 changed files with 106 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ public enum CardType {
|
|||
return text;
|
||||
}
|
||||
|
||||
public String getPluralName() {
|
||||
return text.endsWith("y") ? text.substring(0, text.length() - 1) + "ies" : text + 's';
|
||||
}
|
||||
|
||||
public static CardType fromString(String value) {
|
||||
for (CardType ct : CardType.values()) {
|
||||
if (ct.toString().equals(value)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue