spjspj - Add the 'Skip to End Step of Previous Player' button to the GamePanel and associated changes

This commit is contained in:
spjspj 2016-03-27 00:07:23 +11:00
parent fa5dd387b4
commit 3dfe9de05f
13 changed files with 143 additions and 17 deletions

View file

@ -117,7 +117,6 @@ public class TestPlayer implements Player {
private int maxCallsWithoutAction = 100;
private int foundNoAction = 0;
private boolean AIPlayer;
private final List<PlayerAction> actions = new ArrayList<>();
private final List<String> choices = new ArrayList<>();
private final List<String> targets = new ArrayList<>();
@ -1928,7 +1927,12 @@ public class TestPlayer implements Player {
public boolean getPassedUntilStackResolved() {
return computerPlayer.getPassedUntilStackResolved();
}
@Override
public boolean getPassedUntilEndStepBeforeMyTurn() {
return computerPlayer.getPassedUntilEndStepBeforeMyTurn();
}
@Override
public void revokePermissionToSeeHandCards() {
computerPlayer.revokePermissionToSeeHandCards();

View file

@ -348,10 +348,16 @@ public class PlayerStub implements Player {
return false;
}
@Override
public boolean getPassedAllTurns() {
return false;
}
@Override
public boolean getPassedUntilEndStepBeforeMyTurn() {
return false;
}
@Override
public AbilityType getJustActivatedType() {