forked from External/mage
Tests for #5630
This commit is contained in:
parent
b895611c4d
commit
95b782d519
5 changed files with 180 additions and 52 deletions
|
|
@ -2,6 +2,7 @@ package mage.game.events;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.cards.Card;
|
||||
import mage.players.Player;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -20,6 +21,11 @@ public class TargetEvent extends GameEvent {
|
|||
this.setSourceId(sourceId);
|
||||
}
|
||||
|
||||
public TargetEvent(Player target, UUID sourceId, UUID sourceControllerId) {
|
||||
super(GameEvent.EventType.TARGET, target.getId(), null, sourceControllerId);
|
||||
this.setSourceId(sourceId);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param targetId
|
||||
* @param source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue