Added a button to attack with all available cratures.

This commit is contained in:
LevelX2 2015-07-02 17:03:14 +02:00
parent dbfeea6ea2
commit 3eb1fd4047
5 changed files with 79 additions and 36 deletions

View file

@ -1020,6 +1020,9 @@ public final class GamePanel extends javax.swing.JPanel {
}
Map<String, Serializable> panelOptions = new HashMap<>();
if (options != null) {
panelOptions.putAll(options);
}
panelOptions.put("your_turn", true);
String activePlayerText;
if (gameView.getActivePlayerId().equals(playerId)) {