forked from External/mage
[CLB] Implemented Faceless One
This commit is contained in:
parent
7db20ecc72
commit
4777466b50
7 changed files with 136 additions and 44 deletions
|
|
@ -0,0 +1,33 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.abilities.MageSingleton;
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.abilities.effects.common.InfoEffect;
|
||||
import mage.constants.Zone;
|
||||
|
||||
import java.io.ObjectStreamException;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class ChooseABackgroundAbility extends StaticAbility implements MageSingleton {
|
||||
|
||||
private static final ChooseABackgroundAbility instance = new ChooseABackgroundAbility();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static ChooseABackgroundAbility getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
private ChooseABackgroundAbility() {
|
||||
super(Zone.ALL, new InfoEffect("choose a background"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChooseABackgroundAbility copy() {
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue