forked from External/mage
* GUI: new reworked GUI and card render engine, card icons and dozens of other fixes (see full list in related PR);
This commit is contained in:
parent
df98cc3e62
commit
a1da5ef437
304 changed files with 7266 additions and 5093 deletions
22
Mage/src/main/java/mage/abilities/icon/CardIconOrder.java
Normal file
22
Mage/src/main/java/mage/abilities/icon/CardIconOrder.java
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
package mage.abilities.icon;
|
||||
|
||||
/**
|
||||
* Card icons order on the card's side
|
||||
*
|
||||
* @author JayDi85
|
||||
*/
|
||||
public enum CardIconOrder {
|
||||
|
||||
START,
|
||||
CENTER,
|
||||
END;
|
||||
|
||||
public static CardIconOrder fromString(String value) {
|
||||
for (CardIconOrder item : CardIconOrder.values()) {
|
||||
if (item.toString().equals(value)) {
|
||||
return item;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue