forked from External/mage
Revert "[WOE] Implement Embereth Veteran"
This reverts commit bd1b657e24.
This commit is contained in:
parent
bd1b657e24
commit
e8e243db8c
6 changed files with 0 additions and 211 deletions
|
|
@ -1,34 +0,0 @@
|
|||
package mage.constants;
|
||||
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.YoungHeroRoleToken;
|
||||
|
||||
import java.util.function.Supplier;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum RoleType {
|
||||
YOUNG_HERO("Young Hero", YoungHeroRoleToken::new);
|
||||
|
||||
private final String name;
|
||||
private final Supplier<Token> supplier;
|
||||
|
||||
RoleType(String name, Supplier<Token> supplier) {
|
||||
this.name = name;
|
||||
this.supplier = supplier;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public Token createToken() {
|
||||
return supplier.get();
|
||||
}
|
||||
}
|
||||
|
|
@ -40,7 +40,6 @@ public enum SubType {
|
|||
CARTOUCHE("Cartouche", SubTypeSet.EnchantmentType),
|
||||
CLASS("Class", SubTypeSet.EnchantmentType),
|
||||
CURSE("Curse", SubTypeSet.EnchantmentType),
|
||||
ROLE("Role", SubTypeSet.EnchantmentType),
|
||||
RUNE("Rune", SubTypeSet.EnchantmentType),
|
||||
SAGA("Saga", SubTypeSet.EnchantmentType),
|
||||
SHARD("Shard", SubTypeSet.EnchantmentType),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue