forked from External/mage
rewrote singleton to enum where applicable
This commit is contained in:
parent
3b62489ef5
commit
234cfe9519
872 changed files with 1796 additions and 2135 deletions
|
|
@ -42,14 +42,14 @@ import mage.game.permanent.Permanent;
|
|||
*/
|
||||
public class SpaceflightAbility extends EvasionAbility implements MageSingleton {
|
||||
|
||||
private static final SpaceflightAbility fINSTANCE = new SpaceflightAbility();
|
||||
private static final SpaceflightAbility instance = new SpaceflightAbility();
|
||||
|
||||
private Object readResolve() throws ObjectStreamException {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
public static SpaceflightAbility getInstance() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
private SpaceflightAbility() {
|
||||
|
|
@ -63,7 +63,7 @@ public class SpaceflightAbility extends EvasionAbility implements MageSingleton
|
|||
|
||||
@Override
|
||||
public SpaceflightAbility copy() {
|
||||
return fINSTANCE;
|
||||
return instance;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue