mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-08-03 23:20:27 +02:00
fixed bugs, game now compiles
This commit is contained in:
@@ -39,7 +39,9 @@ public class ClientGameLogic implements ServerInterpreter, GameEventBroker {
|
||||
private Board ownMap;
|
||||
private Board harbor;
|
||||
private Board opponentMap;
|
||||
private ClientState state = null;
|
||||
private ClientState state = new ClientState(this) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* Constructs a ClientGameLogic with the specified sender object.
|
||||
|
@@ -5,7 +5,38 @@
|
||||
## (c) Mark Minas (mark.minas@unibw.de)
|
||||
########################################
|
||||
#
|
||||
battleship.name=Battleship
|
||||
button.ready=Ready
|
||||
monopoly.name=Monopoly
|
||||
button.play=Start Game
|
||||
button.ready=Ready
|
||||
button.rotate=Rotate
|
||||
server.connection.failed=Failed to establish a server connection.
|
||||
its.your.turn=It's your turn! Click on the opponent's field to shoot...
|
||||
lost.connection.to.server=Lost connection to server. The game terminated.
|
||||
place.ships.in.your.map=Place ships in your map.
|
||||
wait.for.an.opponent=Wait for an opponent!
|
||||
wait.for.opponent=Wait for your opponent!
|
||||
confirm.leaving=Would you really like to leave the game?
|
||||
you.lost.the.game=You lost the game!
|
||||
you.won.the.game=You won the game!
|
||||
button.yes=Yes
|
||||
button.no=No
|
||||
button.ok=Ok
|
||||
button.connect=Connect
|
||||
button.cancel=Cancel
|
||||
server.dialog=Server
|
||||
host.name=Host
|
||||
port.number=Port
|
||||
wait.its.not.your.turn=Wait, it's not your turn!!
|
||||
menu.quit=Quit game
|
||||
menu.return-to-game=Return to game
|
||||
menu.sound-enabled=Sound switched on
|
||||
menu.background-sound-enabled=Background music switched on
|
||||
menu.map.load=Load map from file...
|
||||
menu.map.save=Save map in file...
|
||||
label.file=File:
|
||||
label.connecting=Connecting...
|
||||
dialog.error=Error
|
||||
dialog.question=Question
|
||||
port.must.be.integer=Port must be an integer number
|
||||
map.doesnt.fit=The map doesn't fit to this game
|
||||
client.server-start=Start server
|
||||
|
@@ -6,4 +6,37 @@
|
||||
########################################
|
||||
#
|
||||
monopoly.name=Monopoly
|
||||
button.ready=Bereit
|
||||
button.play=Start Game
|
||||
button.ready=Ready
|
||||
button.rotate=Rotate
|
||||
server.connection.failed=Failed to establish a server connection.
|
||||
its.your.turn=It's your turn! Click on the opponent's field to shoot...
|
||||
lost.connection.to.server=Lost connection to server. The game terminated.
|
||||
place.ships.in.your.map=Place ships in your map.
|
||||
wait.for.an.opponent=Wait for an opponent!
|
||||
wait.for.opponent=Wait for your opponent!
|
||||
confirm.leaving=Would you really like to leave the game?
|
||||
you.lost.the.game=You lost the game!
|
||||
you.won.the.game=You won the game!
|
||||
button.yes=Yes
|
||||
button.no=No
|
||||
button.ok=Ok
|
||||
button.connect=Connect
|
||||
button.cancel=Cancel
|
||||
server.dialog=Server
|
||||
host.name=Host
|
||||
port.number=Port
|
||||
wait.its.not.your.turn=Wait, it's not your turn!!
|
||||
menu.quit=Quit game
|
||||
menu.return-to-game=Return to game
|
||||
menu.sound-enabled=Sound switched on
|
||||
menu.background-sound-enabled=Background music switched on
|
||||
menu.map.load=Load map from file...
|
||||
menu.map.save=Save map in file...
|
||||
label.file=File:
|
||||
label.connecting=Connecting...
|
||||
dialog.error=Error
|
||||
dialog.question=Question
|
||||
port.must.be.integer=Port must be an integer number
|
||||
map.doesnt.fit=The map doesn't fit to this game
|
||||
client.server-start=Start server
|
||||
|
Reference in New Issue
Block a user