diff --git a/Projekte/battleship/client/src/main/java/pp/battleship/client/NetworkDialog.java b/Projekte/battleship/client/src/main/java/pp/battleship/client/NetworkDialog.java index 8008024..68d2d04 100644 --- a/Projekte/battleship/client/src/main/java/pp/battleship/client/NetworkDialog.java +++ b/Projekte/battleship/client/src/main/java/pp/battleship/client/NetworkDialog.java @@ -1,3 +1,10 @@ +//////////////////////////////////////// +// Programming project code +// UniBw M, 2022, 2023, 2024 +// www.unibw.de/inf2 +// (c) Mark Minas (mark.minas@unibw.de) +//////////////////////////////////////// + package pp.battleship.client; import java.lang.System.Logger; @@ -165,4 +172,3 @@ class NetworkDialog extends SimpleDialog { serverThread.start(); } } - diff --git a/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java b/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java index 9114d73..e3eab1c 100644 --- a/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java +++ b/Projekte/battleship/client/src/main/java/pp/battleship/client/server/BattleshipSelfhostServer.java @@ -1,4 +1,4 @@ -//////////////////////////////////////// +/////////////////////////////////////// // Programming project code // UniBw M, 2022, 2023, 2024 // www.unibw.de/inf2 diff --git a/Projekte/battleship/model/src/main/resources/battleship.properties b/Projekte/battleship/model/src/main/resources/battleship.properties index d53bd28..30991df 100644 --- a/Projekte/battleship/model/src/main/resources/battleship.properties +++ b/Projekte/battleship/model/src/main/resources/battleship.properties @@ -39,3 +39,4 @@ port.must.be.integer=Port must be an integer number map.doesnt.fit=The map doesn't fit to this game menu.background-sound-enabled=Background music switched on client.server-start = Start server +server.host= Self-Host Game diff --git a/Projekte/battleship/model/src/main/resources/battleship_de.properties b/Projekte/battleship/model/src/main/resources/battleship_de.properties index c8c4788..085058b 100644 --- a/Projekte/battleship/model/src/main/resources/battleship_de.properties +++ b/Projekte/battleship/model/src/main/resources/battleship_de.properties @@ -39,3 +39,4 @@ port.must.be.integer=Der Port muss eine ganze Zahl sein map.doesnt.fit=Diese Karte passt nicht zu diesem Spiel menu.background-sound-enabled=Hintergrundmusik eingeschaltet client.server-start = Starte Server +server.host= Spiel selbst hosten \ No newline at end of file