mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-19 00:06:16 +01:00
fixed typos
This commit is contained in:
parent
fa20a6cb2a
commit
95dc7b07e2
@ -25,7 +25,7 @@ import java.lang.System.Logger.Level;
|
|||||||
import static pp.monopoly.Resources.lookup;
|
import static pp.monopoly.Resources.lookup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Manages the network connection for the Battleship application.
|
* Manages the network connection for the Monopoly application.
|
||||||
* Handles connecting to and disconnecting from the server, and sending messages.
|
* Handles connecting to and disconnecting from the server, and sending messages.
|
||||||
*/
|
*/
|
||||||
public class NetworkSupport implements MessageListener<Client>, ClientStateListener, ServerConnection {
|
public class NetworkSupport implements MessageListener<Client>, ClientStateListener, ServerConnection {
|
||||||
@ -34,9 +34,9 @@ public class NetworkSupport implements MessageListener<Client>, ClientStateListe
|
|||||||
private Client client;
|
private Client client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a NetworkSupport instance for the given Battleship application.
|
* Constructs a NetworkSupport instance for the given Monopoly application.
|
||||||
*
|
*
|
||||||
* @param app The Battleship application instance.
|
* @param app The Monopoly application instance.
|
||||||
*/
|
*/
|
||||||
public NetworkSupport(MonopolyApp app) {
|
public NetworkSupport(MonopolyApp app) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
@ -44,6 +44,7 @@ public class NetworkSupport implements MessageListener<Client>, ClientStateListe
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the client connections Id
|
* Return the client connections Id
|
||||||
|
*
|
||||||
* @return the client id
|
* @return the client id
|
||||||
*/
|
*/
|
||||||
public int getId() {
|
public int getId() {
|
||||||
@ -52,9 +53,9 @@ public class NetworkSupport implements MessageListener<Client>, ClientStateListe
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the Battleship application instance.
|
* Returns the Monopoly application instance.
|
||||||
*
|
*
|
||||||
* @return Battleship application instance
|
* @return Monopoly application instance
|
||||||
*/
|
*/
|
||||||
public MonopolyApp getApp() {
|
public MonopolyApp getApp() {
|
||||||
return app;
|
return app;
|
||||||
|
@ -53,7 +53,7 @@ public class WinnerPopUp extends Dialog {
|
|||||||
backgroundContainer.setPreferredSize(WinnerContainer.getPreferredSize().addLocal(padding, padding, 0));
|
backgroundContainer.setPreferredSize(WinnerContainer.getPreferredSize().addLocal(padding, padding, 0));
|
||||||
|
|
||||||
// Titel
|
// Titel
|
||||||
Label winnerTitle = WinnerContainer.addChild(new Label("Herlichen Glückwunsch, du bist der neue Monopoly Champion!", new ElementId("header")));
|
Label winnerTitle = WinnerContainer.addChild(new Label("Herzlichen Glückwunsch, du bist der neue Monopoly Champion!", new ElementId("header")));
|
||||||
winnerTitle.setFontSize(25);
|
winnerTitle.setFontSize(25);
|
||||||
// winnerTitle.setColor(ColorRGBA.Black);
|
// winnerTitle.setColor(ColorRGBA.Black);
|
||||||
// Create the image container
|
// Create the image container
|
||||||
|
Loading…
Reference in New Issue
Block a user