wip-fix-ai-players #25
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue