updated to use the new copy constructor instead of copy method
parent
fa5c7ebf4d
commit
cd383c7ec8
|
@ -80,10 +80,10 @@ public class MagicPlayer implements MagicTarget {
|
||||||
extraTurns=sourcePlayer.extraTurns;
|
extraTurns=sourcePlayer.extraTurns;
|
||||||
attackers=sourcePlayer.attackers;
|
attackers=sourcePlayer.attackers;
|
||||||
blockers=sourcePlayer.blockers;
|
blockers=sourcePlayer.blockers;
|
||||||
hand=sourcePlayer.hand.copy(copyMap);
|
hand=new MagicCardList(copyMap, sourcePlayer.hand);
|
||||||
library=sourcePlayer.library.copy(copyMap);
|
library=new MagicCardList(copyMap, sourcePlayer.library);
|
||||||
graveyard=sourcePlayer.graveyard.copy(copyMap);
|
graveyard=new MagicCardList(copyMap, sourcePlayer.graveyard);
|
||||||
exile=sourcePlayer.exile.copy(copyMap);
|
exile=new MagicCardList(copyMap, sourcePlayer.exile);
|
||||||
permanents=new MagicPermanentSet(copyMap,sourcePlayer.permanents);
|
permanents=new MagicPermanentSet(copyMap,sourcePlayer.permanents);
|
||||||
manaPermanents=new MagicPermanentSet(copyMap,sourcePlayer.manaPermanents);
|
manaPermanents=new MagicPermanentSet(copyMap,sourcePlayer.manaPermanents);
|
||||||
cardCounter=new MagicCardCounter(sourcePlayer.cardCounter);
|
cardCounter=new MagicCardCounter(sourcePlayer.cardCounter);
|
||||||
|
|
Loading…
Reference in New Issue