forked from External/mage
talk to interfaces rather than implementations
This commit is contained in:
parent
0c80172c2d
commit
905829561e
32 changed files with 259 additions and 299 deletions
|
|
@ -1,8 +1,5 @@
|
|||
package mage.actions;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.actions.impl.MageAction;
|
||||
import mage.actions.score.ArtificialScoringSystem;
|
||||
import mage.cards.Card;
|
||||
|
|
@ -12,6 +9,10 @@ import mage.game.events.GameEvent;
|
|||
import mage.players.Player;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Action for drawing cards.
|
||||
*
|
||||
|
|
@ -21,12 +22,12 @@ public class MageDrawAction extends MageAction {
|
|||
|
||||
private final Player player;
|
||||
private final int amount;
|
||||
private final ArrayList<UUID> appliedEffects;
|
||||
private final List<UUID> appliedEffects;
|
||||
private final List<Card> drawnCards;
|
||||
|
||||
private static final int NEGATIVE_VALUE = -1000000;
|
||||
|
||||
public MageDrawAction(Player player, int amount, ArrayList<UUID> appliedEffects) {
|
||||
public MageDrawAction(Player player, int amount, List<UUID> appliedEffects) {
|
||||
this.player = player;
|
||||
this.amount = amount;
|
||||
this.appliedEffects = appliedEffects;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue