Please test! Some changes to the display of user choices, showing also a longer text in tooltip window.

This commit is contained in:
LevelX2 2015-06-28 21:55:48 +02:00
parent cac04616f3
commit df3e6db569
352 changed files with 2277 additions and 2034 deletions

View file

@ -346,7 +346,7 @@ public class RandomPlayer extends ComputerPlayer {
}
@Override
public boolean chooseUse(Outcome outcome, String message, Game game) {
public boolean chooseUse(Outcome outcome, String message, Ability source, Game game) {
return rnd.nextBoolean();
}

View file

@ -793,7 +793,7 @@ public class TestPlayer implements Player {
}
@Override
public boolean chooseUse(Outcome outcome, String message, Game game) {
public boolean chooseUse(Outcome outcome, String message, Ability source, Game game) {
if (!choices.isEmpty()) {
if (choices.get(0).equals("No")) {
choices.remove(0);