/**
* redo the last human player's move.
*/
public void redoLastManMove() {
TwoPlayerController c = get2PlayerController();
PlayerList players = c.getPlayers();
if ( undoneMoves_.isEmpty() ) {
JOptionPane.showMessageDialog( null,
GameContext.getLabel("NO_MOVES_TO_REDO"),
GameContext.getLabel("WARNING"),
JOptionPane.WARNING_MESSAGE );
return;
}
if ( players.allPlayersComputer() )
return;
c.makeMove(undoneMoves_.removeLast());
if ( !players.allPlayersHuman() ) {
c.makeMove(undoneMoves_.removeLast());
}
refresh();
}