mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Target refactoring. Fixed Issue 273.
This commit is contained in:
parent
c3a5910976
commit
82dcb53cb9
52 changed files with 63 additions and 55 deletions
|
|
@ -138,12 +138,12 @@ public class ComputerPlayer<T extends ComputerPlayer<T>> extends PlayerImpl<T> i
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean choose(Outcome outcome, Target target, Game game) {
|
||||
return choose(outcome, target, game, null);
|
||||
public boolean choose(Outcome outcome, Target target, UUID sourceId, Game game) {
|
||||
return choose(outcome, target, sourceId, game, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean choose(Outcome outcome, Target target, Game game, Map<String, Serializable> options) {
|
||||
public boolean choose(Outcome outcome, Target target, UUID sourceId, Game game, Map<String, Serializable> options) {
|
||||
if (log.isDebugEnabled())
|
||||
log.debug("chooseTarget: " + outcome.toString() + ":" + target.toString());
|
||||
UUID opponentId = game.getOpponents(playerId).iterator().next();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue