wip-fix-ai-players #25

Merged
lgc merged 11 commits from wip-fix-ai-players into main 2024-12-23 19:15:00 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 1e58626e6f - Show all commits

View File

@ -31,8 +31,8 @@ public class BoardDisplay extends JPanel {
/** /**
* Gibt currentShip zurück * Gibt currentShip zurück
* @return currentShip * @return currentShip Objekt der Klasse Schiff
* @author Joshua Kuklok * @author Lucas Bronson Luca Conte
*/ */
public Ship getCurrentShip() { public Ship getCurrentShip() {
return currentShip; return currentShip;
@ -67,7 +67,7 @@ public class BoardDisplay extends JPanel {
} else if (j == 0) { } else if (j == 0) {
JLabel rowLabel = new JLabel(String.valueOf((char) ('A' + i - 1))); JLabel rowLabel = new JLabel(String.valueOf((char) ('A' + i - 1)));
rowLabel.setHorizontalAlignment(SwingConstants.CENTER); rowLabel.setHorizontalAlignment(SwingConstants.CENTER);
rowLabel.setFont(new Font("Arial", Font.BOLD, 14)); rowLabel.setFont(new Font("Roboto", Font.BOLD, 14));
add(rowLabel); add(rowLabel);
} else { } else {
// Spielfeld (interaktive Zellen) // Spielfeld (interaktive Zellen)