getPauseButton().setSelected(false);
}
@Override
public void onTurnEnded(TurnEndedEvent event) {
final ITurnSnapshot turn = event.getTurnSnapshot();
if (turn == null) {
return;
}
lastSnapshot = turn.getRobots()[robotIndex];
final String text = lastSnapshot.getOutputStreamSnapshot();
if (text != null && text.length() > 0) {
getConsoleScrollPane().append(text);
getConsoleScrollPane().scrollToBottom();