mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[SPM] Implement Tombstone, Career Criminal
This commit is contained in:
parent
3047559cd1
commit
91e5a4b994
3 changed files with 62 additions and 3 deletions
|
|
@ -1,18 +1,22 @@
|
|||
|
||||
|
||||
package mage.filter.common;
|
||||
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterCard;
|
||||
|
||||
/**
|
||||
* TODO: Collapse this into FilterCard
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
|
||||
public class FilterBySubtypeCard extends FilterCard {
|
||||
|
||||
public FilterBySubtypeCard(SubType subtype) {
|
||||
super(subtype + " card");
|
||||
this(subtype, subtype + " card");
|
||||
}
|
||||
|
||||
public FilterBySubtypeCard(SubType subtype, String name) {
|
||||
super(name);
|
||||
this.add(subtype.getPredicate());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue