mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Removed some system.out debug lines.
This commit is contained in:
parent
c9603d1994
commit
61c3798b83
1 changed files with 0 additions and 7 deletions
|
@ -143,7 +143,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean choose(Outcome outcome, Target target, UUID sourceId, Game game, Map<String, Serializable> options) {
|
public boolean choose(Outcome outcome, Target target, UUID sourceId, Game game, Map<String, Serializable> options) {
|
||||||
System.out.println("choose in ComputerPlayer");
|
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isDebugEnabled()) {
|
||||||
log.debug("chooseTarget: " + outcome.toString() + ':' + target.toString());
|
log.debug("chooseTarget: " + outcome.toString() + ':' + target.toString());
|
||||||
}
|
}
|
||||||
|
@ -397,7 +396,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean chooseTarget(Outcome outcome, Target target, Ability source, Game game) {
|
public boolean chooseTarget(Outcome outcome, Target target, Ability source, Game game) {
|
||||||
System.out.println("chooseTarget in ComputerPlayer");
|
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isDebugEnabled()) {
|
||||||
log.debug("chooseTarget: " + outcome.toString() + ':' + target.toString());
|
log.debug("chooseTarget: " + outcome.toString() + ':' + target.toString());
|
||||||
}
|
}
|
||||||
|
@ -756,7 +754,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
} //end of chooseTarget method
|
} //end of chooseTarget method
|
||||||
|
|
||||||
protected Card pickTarget(List<Card> cards, Outcome outcome, Target target, Ability source, Game game) {
|
protected Card pickTarget(List<Card> cards, Outcome outcome, Target target, Ability source, Game game) {
|
||||||
System.out.println("pickTarget in ComputerPlayer");
|
|
||||||
Card card;
|
Card card;
|
||||||
while (!cards.isEmpty()) {
|
while (!cards.isEmpty()) {
|
||||||
if (outcome.isGood()) {
|
if (outcome.isGood()) {
|
||||||
|
@ -778,7 +775,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean chooseTargetAmount(Outcome outcome, TargetAmount target, Ability source, Game game) {
|
public boolean chooseTargetAmount(Outcome outcome, TargetAmount target, Ability source, Game game) {
|
||||||
System.out.println("chooseTargetAmount in ComputerPlayer");
|
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isDebugEnabled()) {
|
||||||
log.debug("chooseTarget: " + outcome.toString() + ':' + target.toString());
|
log.debug("chooseTarget: " + outcome.toString() + ':' + target.toString());
|
||||||
}
|
}
|
||||||
|
@ -819,7 +815,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean priority(Game game) {
|
public boolean priority(Game game) {
|
||||||
System.out.println("priority in ComputerPlayer");
|
|
||||||
game.resumeTimer(getTurnControlledBy());
|
game.resumeTimer(getTurnControlledBy());
|
||||||
log.debug("priority");
|
log.debug("priority");
|
||||||
boolean result = priorityPlay(game);
|
boolean result = priorityPlay(game);
|
||||||
|
@ -828,7 +823,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean priorityPlay(Game game) {
|
private boolean priorityPlay(Game game) {
|
||||||
System.out.println("priorityPlay in ComputerPlayer");
|
|
||||||
UUID opponentId = game.getOpponents(playerId).iterator().next();
|
UUID opponentId = game.getOpponents(playerId).iterator().next();
|
||||||
if (game.getActivePlayerId().equals(playerId)) {
|
if (game.getActivePlayerId().equals(playerId)) {
|
||||||
if (game.isMainPhase() && game.getStack().isEmpty()) {
|
if (game.isMainPhase() && game.getStack().isEmpty()) {
|
||||||
|
@ -985,7 +979,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void findPlayables(Game game) {
|
protected void findPlayables(Game game) {
|
||||||
System.out.println("Here in findPlayables");
|
|
||||||
playableInstant.clear();
|
playableInstant.clear();
|
||||||
playableNonInstant.clear();
|
playableNonInstant.clear();
|
||||||
unplayable.clear();
|
unplayable.clear();
|
||||||
|
|
Loading…
Reference in a new issue