Commit Graph

14 Commits

Author SHA1 Message Date
Benjamin Feyer
fe6ad576eb edited the fire, adjusted the rocket_size,added the models in j3o files, adjusted the Gamesound, added the artefacts 2024-10-13 14:18:03 +02:00
Benjamin Feyer
3755cca62e Solution for exercise 13:
edited another state in the server and client, added the rocket, added the 'Shell.java' and 'ShellControl.java'
edited the logic for the states and 3 messages for the server client comunication, edited the 'SeaSynchronizer' and ShipMapSynchronizer', so that the animations will be displayed, added the sound for the rocket
2024-10-12 00:41:24 +02:00
Benjamin Feyer
30a735bd6e added 'Shell' and 'ShellControl' and editet the two visitors 'Visitor' and 'VoidVisitor' 2024-10-10 22:23:55 +02:00
Benjamin Feyer
dffb5b4d63 corrected the server based validation in 'WaitState' and 'ServerGameLogic' and 'battleship.properties' and 'battleship_de.properties' and reformatted 'SeaSynchronizer'
corrected the 'ServerGameLogic' so it will send new GameLogic and will be still in EditorState, when presented with an invalid map
and added in the properties the keys writen in 'WaitState' and added the 'ReceivedGameLogic', to receive new GameDetails
2024-10-08 23:05:51 +02:00
Benjamin Feyer
d53e8577d8 edited 'SeaSynchronizer' and 'ShipControl' for Nr. 12
so now the fire on the ship will be displayed, the seasynchronizer handels it,
in the 'ShipControl' the sinking of a sunken ship is implemented
2024-10-08 21:20:51 +02:00
Benjamin Feyer
54d8ad57cb added the 'SeaSynchronizer'
so if the shot hits or misses, a particle is shown, hereby I modified the visit(Shot shot) handleHit
and added the 'createMissParticle' and 'createHitParticle' methods
2024-10-08 17:16:09 +02:00
Benjamin Feyer
387bda04b9 edited the 'networkDialog' and added 'battleShipLocalServer' and 'ReceivedMessage' and 'README'
edited the networkDialog so the client can decide, whether he want, to connect to a derver or create and host a new one, added the 'BattleshipLocalServer', the class responcible for creating a new server and added 'Receivedmessage'
and added a README for the Background-music licence
2024-10-05 15:33:27 +02:00
Benjamin Feyer
2110555bbc corrected the code for nr. 8 +10
now the backgroundmusic-settings will be stored correctly and when a invalid map is submitted,the error will be displayed correctly
2024-10-05 14:12:23 +02:00
Benjamin Feyer
34a0fa2304 Solution for Nr. 10, added 'BackgroundSound.java' and edited 'battleshipApp' and 'Menu'
the 'BackgroundMusic' class defines the background music and the function used to control it, in the 'BattleshipApp' is an attribute of BackgrounMusic and a return function and in the Menu the Checkbox and the slider for the backgroundMusic and the update function were implemented
2024-10-03 23:34:15 +02:00
Benjamin Feyer
6355b98441 Nr.10 edited 'Menu','Sound','battlship.properties' and 'battleship_de.properties'
edited the property files to ensure, that in the menu the background music on/off and the background volume slider are named in eng and german, edited the childnotes for
the menu, so the checkbox and slider are visible, edited the enum Suonds, for another entry 'BACKGROUNDMUSIC'
2024-10-03 13:46:18 +02:00
Benjamin Feyer
b96a3dd270 Number 9'
added README.txt for all models
2024-10-02 22:46:58 +02:00
Benjamin Feyer
b6f105202d corrected 'Editorstate' and 'GameServerLogic' and edited 'SeaSynchronizer' and added assets 2024-10-02 22:23:10 +02:00
Benjamin Feyer
237bf15992 Nr.7: edited the 'Battlestate' and 'ShipMap' class 2024-10-02 01:19:19 +02:00
Mark Minas
71a4ac8d12 added contents 2024-09-18 17:04:31 +02:00