Cedric Beck
9199fbffd8
removed tests, fixed null exception in CardLayer
2024-12-04 13:56:03 +01:00
Felix Koppe
5c71531277
Merge branch 'development' into dev/client_koppe2
2024-12-04 13:43:33 +01:00
Felix Koppe
6f7c5346d2
Merge commit
2024-12-04 13:34:14 +01:00
Felix Koppe
ef1ce63db6
Try to make server stop on leave
2024-12-04 13:33:39 +01:00
Hanno Fleischer
e8d1442e5b
made the model checkstyle compliant
2024-12-04 12:10:48 +01:00
Hanno Fleischer
bdacc4aad3
created the Intro state and renamed all packages to be checkstyle compliant
2024-12-04 12:08:38 +01:00
Cedric Beck
44ef21e6af
added handCard Num to playerName display + added remove card in guiHandler
2024-12-04 11:38:35 +01:00
Hanno Fleischer
8e8104b672
forgot to add StartGameMessage in previous commit
2024-12-04 11:10:26 +01:00
Hanno Fleischer
de899cef35
removed from every Message the getInfoTest method and only overrode the toString method in messages with content, in every other message it is handled through the parent class
2024-12-04 11:07:55 +01:00
Felix Koppe
11d6dd4500
Improve video dialog
2024-12-04 10:00:41 +01:00
Felix Koppe
d71f824ca6
Add fullscreen option
2024-12-04 09:41:08 +01:00
Felix Koppe
8e6cb27662
Fix lobbyView ready behavior on tskChange
2024-12-04 07:53:18 +01:00
Daniel Grigencha
29711d6210
Updated 'ClientStartGameMessage' class.
...
Updated the 'ClientStartGameMesssage' class by preparing it for the correct BPMN diagram.
2024-12-04 02:46:07 +01:00
Daniel Grigencha
29d8e791f6
Updated 'Player' class.
...
Updated the 'Player' class by adding the 'setPieceInHome' method to it.
2024-12-04 02:44:28 +01:00
Daniel Grigencha
4440341f79
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by updating the creation of the 'ServerStartGameMessage' object. In Addition, the start process if all players are ready was removed.
2024-12-04 02:44:03 +01:00
Daniel Grigencha
de5c8bf44c
Updated 'Game' class.
...
Updated the 'Game' class by adding the 'getPlayersAsList' method to it.
2024-12-04 02:43:29 +01:00
Daniel Grigencha
ab5cece1b3
Updated 'StartGameMessage' class.
...
Updated the 'StartGameMessage' class by removing the unused 'forceStartGame' attribute from it.
2024-12-04 02:42:57 +01:00
Daniel Grigencha
b8ed5060d6
Updated 'Board' class.
...
Updated the 'Board' class by removing the 'playerData' attribute and its getter method from it.
2024-12-04 02:42:16 +01:00
Daniel Grigencha
c0b72ae4da
Updated 'ServerStartGameMessage' class.
...
Updated the 'ServerStartGameMessage' class by adding the 'players' attribute and its getter method to it.
2024-12-04 02:41:44 +01:00
Daniel Grigencha
c1b4caa82b
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by updating the 'received(ServerStartGameMessage msg)' method in it after updating the 'ServerStartGameMessage' class.
2024-12-04 02:22:58 +01:00
Daniel Grigencha
a757158477
Updated 'MdgaServer' class.
...
Updated the 'MdgaServer' class by removing the serializer registration in it.
2024-12-04 02:09:20 +01:00
Daniel Grigencha
964ff87b11
Updated client states.
...
Updated the client states by removing all references to the 'PlayerData' class.
2024-12-04 01:47:31 +01:00
Hanno Fleischer
7053b163e5
adjusted LobbyState in the client to use the correct Data
2024-12-03 18:19:55 +01:00
Hanno Fleischer
81cb2f33ff
adjusted all constuctors of nodes so that if someone creates a node the piece will be null and the option for a constuctor without arguments is still given for serialization purposes
2024-12-03 17:56:39 +01:00
Hanno Fleischer
69865bb504
added the playeringamenotification to be created from the right dataset
2024-12-03 16:48:08 +01:00
Felix Koppe
db50986f3f
Fix serialisation issue
2024-12-03 15:38:13 +01:00
Felix Koppe
a0a088a0c4
Fix minor error in notification processing
2024-12-03 15:00:00 +01:00
Cedric Beck
c4d11ff961
added window title
2024-12-03 09:15:14 +01:00
Daniel Grigencha
bb51976127
Updated 'Node' class.
...
Updated the 'Node' class by overload the 'isOccupied' method in it.
2024-12-03 04:57:30 +01:00
Daniel Grigencha
0db1f08f3c
Updated abstract 'GameAutomatonState' class.
...
Updated the abstract 'GameAutomatonState' class by adding the 'getGameAutomaton' method to it.
2024-12-03 04:49:16 +01:00
Daniel Grigencha
336f1ec316
Updated 'Resources' class.
...
Updated the 'Resources' class by adding the 'MAX_EYES' constant to it.
2024-12-03 04:29:16 +01:00
Daniel Grigencha
a1e687912a
Updated abstract 'TurnAutomatonState' class.
...
Updated the abstract 'TurnAutomatonState' class by adding the 'getTurnAutomaton' method to it.
2024-12-03 04:09:35 +01:00
Daniel Grigencha
2248d044c1
Updated 'AnimationState' class.
...
Updated the 'AnimationState' class by updating the content inside the 'received(AnimationEndMessage msg, int from) method in it.
2024-12-03 03:41:58 +01:00
Daniel Grigencha
79bf1c16e8
Updated 'Game' class.
...
Updated the 'Game' class by adding the 'getActivePlayerId' method to it.
2024-12-03 03:40:24 +01:00
Daniel Grigencha
3353a890d3
Updated 'Game' class.
...
Updated the 'Game' class by adding the 'getPlayerIdByColor' method to it.
2024-12-03 03:36:22 +01:00
Daniel Grigencha
a012402a85
Updated abstract 'TurnAutomatonState' class.
...
Updated the abstract 'TurnAutomatonState' class by updating the JavaDoc text of the constructor.
2024-12-03 02:15:10 +01:00
Daniel Grigencha
5aaf8d4850
Updated 'TurnState' class.
...
Updated the 'TurnState' class by setting the start state in it.
2024-12-03 01:31:22 +01:00
Daniel Grigencha
35ab777f04
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by fixing the logic inside the received(RequestDieMessage msg, int from)' method in it.
2024-12-03 01:30:39 +01:00
Daniel Grigencha
c707abc465
Updated 'Die' class.
...
Updated the 'Die' class by adding another constructor for test cases to it.
2024-12-03 01:04:02 +01:00
Daniel Grigencha
2a84e7cf65
Updated 'Player' class.
...
Updated the 'Player' class by moving all content of 'PlayerData' class in 'Player' class.
2024-12-03 00:51:45 +01:00
Daniel Grigencha
3a02edb944
Updated 'PlayerData' class.
...
Updated the 'PlayerData' class by updating the 'Piece' creation inside the constructor.
2024-12-03 00:50:53 +01:00
Daniel Grigencha
1870d4fe0e
Updated 'ShieldState' enumeration.
...
Updated the 'ShieldState' enumeration by removing unused methods from it.
2024-12-03 00:49:09 +01:00
Daniel Grigencha
5cf9746931
Updated 'PieceState' enumeration.
...
Updated the 'PieceState' enumeration by removing unused methods from it.
2024-12-03 00:48:39 +01:00
Daniel Grigencha
5b9bc7aa36
Updated 'Piece' class.
...
Updated the 'Piece' class by removing the unused 'id' parameter from the constructor.
2024-12-03 00:38:24 +01:00
Daniel Grigencha
abe66aff5d
Updated 'LobbyState' class.
...
Updated 'LobbyState' class by removed unused imports in it.
2024-12-03 00:37:24 +01:00
Fleischer Hanno
eea566cc8b
added the logic for server shutdown
2024-12-02 23:25:54 +01:00
Daniel Grigencha
bd07a44607
Merge branch 'development' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into development
2024-12-02 23:24:02 +01:00
Daniel Grigencha
1f64676d31
Updated 'MdgaServer' class.
...
Updated the 'MdgaServer' class by adding the 'shutdown' message to it.
2024-12-02 23:23:56 +01:00
Daniel Grigencha
838f59b9aa
Updated 'ServerState' class.
...
Updated the 'ServerState' class by filling the 'received(LeaveGameMessage msg, int from)' in it.
2024-12-02 23:22:45 +01:00
Daniel Grigencha
002a42be38
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by removing the 'received(LeaveGameMessage msg, int from)' from it.
2024-12-02 23:21:42 +01:00