mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
Added options to gameclient target message.
This commit is contained in:
parent
23c5bf9db0
commit
a1b2127962
16 changed files with 96 additions and 44 deletions
|
|
@ -30,6 +30,7 @@ package mage.player.ai;
|
|||
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.logging.Level;
|
||||
|
|
@ -138,6 +139,11 @@ 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);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean choose(Outcome outcome, Target target, Game game, Map<String, Serializable> options) {
|
||||
if (logger.isLoggable(Level.FINE))
|
||||
logger.fine("chooseTarget: " + outcome.toString() + ":" + target.toString());
|
||||
UUID opponentId = game.getOpponents(playerId).iterator().next();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue