mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
[refactor] removed generic parameter from PermanentImpl
This commit is contained in:
parent
bb7de19d7b
commit
782518f336
3 changed files with 4 additions and 5 deletions
|
@ -43,7 +43,7 @@ import mage.game.command.Commander;
|
|||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class PermanentCard extends PermanentImpl<PermanentCard> {
|
||||
public class PermanentCard extends PermanentImpl {
|
||||
|
||||
protected int maxLevelCounters;
|
||||
protected Card card;
|
||||
|
|
|
@ -70,9 +70,8 @@ import mage.players.Player;
|
|||
|
||||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
* @param <T>
|
||||
*/
|
||||
public abstract class PermanentImpl<T extends PermanentImpl<T>> extends CardImpl implements Permanent {
|
||||
public abstract class PermanentImpl extends CardImpl implements Permanent {
|
||||
|
||||
protected boolean tapped;
|
||||
protected boolean flipped;
|
||||
|
@ -118,7 +117,7 @@ public abstract class PermanentImpl<T extends PermanentImpl<T>> extends CardImpl
|
|||
this.controllerId = controllerId;
|
||||
}
|
||||
|
||||
public PermanentImpl(final PermanentImpl<T> permanent) {
|
||||
public PermanentImpl(final PermanentImpl permanent) {
|
||||
super(permanent);
|
||||
this.tapped = permanent.tapped;
|
||||
this.flipped = permanent.flipped;
|
||||
|
|
|
@ -41,7 +41,7 @@ import mage.game.permanent.token.Token;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class PermanentToken extends PermanentImpl<PermanentToken> {
|
||||
public class PermanentToken extends PermanentImpl {
|
||||
|
||||
protected Token token;
|
||||
|
||||
|
|
Loading…
Reference in a new issue