Felix Koppe
aacc0440b3
Update .gitignore
2024-12-06 10:33:13 +01:00
Felix Koppe
95635f5fb7
Fix ownColor in gameView
2024-12-06 09:59:28 +01:00
Felix Koppe
e337b1f888
Fix card select issue
2024-12-06 09:57:28 +01:00
Felix Koppe
0237bcc4be
Fix card select issue
2024-12-06 09:51:17 +01:00
Felix Koppe
26836d16cc
Fix card select issue
2024-12-06 09:48:24 +01:00
Felix Koppe
a6c8cc33f4
Make cardSelect trigger needCconfirm
2024-12-06 09:31:02 +01:00
Felix Koppe
7f5f4b8c68
Fix broken sound
2024-12-06 09:24:49 +01:00
Felix Koppe
7f3483aa6b
Add broken sound
2024-12-06 09:22:10 +01:00
Felix Koppe
8422b7be1e
Merge branch 'development' into dev/client_koppe2
2024-12-06 09:11:09 +01:00
Felix Koppe
f0b23ab9c2
Readd broken files
2024-12-06 09:10:47 +01:00
Felix Koppe
78f1dbb3d3
Remove broken files
2024-12-06 09:08:52 +01:00
Felix Koppe
9e758e4417
Merge branch 'dev/model' into dev/client_koppe2
2024-12-06 08:11:37 +01:00
Daniel Grigencha
62ceff822f
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by adding logic for the roll again event to the 'RequestDieMessage' handling.
2024-12-06 04:54:14 +01:00
Hanno Fleischer
33afc4ab3b
added selectDice method in RollDiceState
2024-12-06 04:48:05 +01:00
Daniel Grigencha
322d539cfd
Merge branch 'dev/model' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into dev/model
2024-12-06 04:28:40 +01:00
Daniel Grigencha
9c4f2387ee
Updated 'FirstRollState', 'SecondRollState' and 'ThirdROllState' classes.
...
Updated the 'FirstRollState', 'SecondRollState' and 'ThirdROllState' class by adding the 'received(RequestDieMessage msg, int from)' method to them.
2024-12-06 04:28:33 +01:00
Daniel Grigencha
9d1430e488
Updated 'AnimationState' class.
...
Updated the 'AnimationState' class by setting the data type of 'messageReceived' from 'Map' to 'Set'.
2024-12-06 04:27:10 +01:00
Daniel Grigencha
dd2146d417
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by setting the data type of 'messageReceived' from 'Map' to 'Set'.
2024-12-06 04:26:38 +01:00
Daniel Grigencha
d9ad0f0a4b
Updated 'LobbyState' class.
...
Updated the 'LobbyState' class by setting the first waiting piece on the start node.
2024-12-06 04:25:45 +01:00
Hanno Fleischer
0368ec8541
implemented the correct transition, when the player can play no powercard
2024-12-06 04:18:58 +01:00
Daniel Grigencha
72f0bc5a2f
Updated 'RollDiceState' class.
...
Updated the 'RollDiceState' class by adding the 'received(RequestDieMessage msg, int from)' method to it.
2024-12-06 04:17:29 +01:00
Daniel Grigencha
23ae4a3080
Updated 'DetermineStartPlayaerState' class.
...
Updated the 'DetermineStartPlayerState' class by calling the right method of the 'entry' inside the 'RequestDieMessage' handling.
2024-12-06 04:14:42 +01:00
Daniel Grigencha
765b1884fe
Updated 'AnimationState' class.
...
Updated the 'AnimationState' class by removing the unused 'DiceNowMessage' call from it.
2024-12-06 03:57:42 +01:00
Daniel Grigencha
e3febd6ba1
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by removing the 'rolls' attribute and its usage from it.
2024-12-06 03:49:39 +01:00
Daniel Grigencha
1a562a8d38
Updated 'DeterminStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by adding the multi roll support to it. In Addition, the server model will be updated correctly.
2024-12-06 03:29:11 +01:00
Daniel Grigencha
39ed4238b5
Updated 'AnimationState' class.
...
Updated the 'AnimationState' class by adding a missing semicolon.
2024-12-06 03:27:55 +01:00
Daniel Grigencha
620063e894
Updated 'AnimationState' class.
...
Updated the 'AnimationState' class by updating the 'messageReceived' attribute in it. In Addition, the 'AnimationEndMessage' handling was updated.
2024-12-06 03:22:25 +01:00
Daniel Grigencha
2d0788eb72
Updated 'TurnState' class.
...
Updated the 'TurnState' class by updating the imports in it.
2024-12-06 03:20:28 +01:00
Daniel Grigencha
8470a96908
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by updating the 'AnimationEndMessage' handling in it. In Addition, the 'RequestDieMessage' handling was updated as well.
2024-12-06 02:55:14 +01:00
Hanno Fleischer
a6205c982a
now sending AnimationEndMessage when in Waitranking State
2024-12-06 02:40:16 +01:00
Daniel Grigencha
58b9298c91
Merge branch 'dev/model' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into dev/model
2024-12-06 02:38:53 +01:00
Daniel Grigencha
1e6856744b
Updated 'DetermineStartPlayerState' class.
...
Updated the 'DetermineStartPlayerState' class by adding the 'received(AnimationEndMessage msg, int from)' method to it.
2024-12-06 02:38:46 +01:00
Hanno Fleischer
f713e00c36
made all 'PowerCards' serializable
2024-12-06 02:30:13 +01:00
Daniel Grigencha
81ae896ae8
Updated 'TurnState' class.
...
Updated the 'TurnState' class by removing the start state of this state machine of the constructor.
2024-12-06 02:22:46 +01:00
Daniel Grigencha
5b55d39c9a
Updated 'AnimationState' class.
...
Updated the 'AnimationState' class by solving the transition error due to the separat state change.
2024-12-06 02:22:07 +01:00
Hanno Fleischer
f36e2ff7bb
adjusted the getter for the card in the intro to get BonusCards instead of PowerCards
2024-12-06 02:16:58 +01:00
Hanno Fleischer
16afe95aa6
Merge branch 'dev/model' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into dev/model
2024-12-06 02:13:08 +01:00
Hanno Fleischer
55d398b428
adjusted all useages of the SelectedPieces consturctor to transfer the right parameters
2024-12-06 02:12:59 +01:00
Daniel Grigencha
affa2ecd7e
Added 'ChoosePowerCardState', 'ShieldCardState', 'SwapCardState' and 'TurboCardState' classes.
...
Updated the 'ChoosePowerCardState', 'ShieldCardState', 'SwapCardState' and 'TurboCardState' classes to this project. They will be used inside the power card state. In Addition, the abstract 'PowerCardAutomatonState' class was added.
2024-12-06 02:11:32 +01:00
Hanno Fleischer
0a1bd1f503
adjusted all State containing 'received(PlayCardMessage msg)' to work with the new message
2024-12-06 02:04:55 +01:00
Daniel Grigencha
a2867fc88a
Added 'ServerCardVisitor' class.
...
Added the 'ServerCardVisitor' class to this project. It will be used as a visitor on the server to differentiate between all types of power cards.
2024-12-06 01:41:45 +01:00
Daniel Grigencha
c6761d91d1
Updated 'PowerCardState' class.
...
Updated the 'PowerCardState' class by updating the content of the 'enter' in it.
2024-12-06 01:37:24 +01:00
Daniel Grigencha
5708ee6ffe
Updated 'PlayCardMessage' class.
...
Updated the 'PlayCardMessage' class by removing the 'ownPieceID' and 'enemyPieceID' attributes and their getter methods from it. In Addition, the 'pieces' attribute and its getter method was added.
2024-12-06 01:28:44 +01:00
Hanno Fleischer
d61b68aa41
overrode hachCode and equals method of Piece
2024-12-06 01:15:06 +01:00
Daniel Grigencha
e98418b274
Merge branch 'dev/model' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-01 into dev/model
2024-12-06 01:06:20 +01:00
Daniel Grigencha
66dc9c02ea
Updated 'PowerCardState' class.
...
Updated the 'PowerCardState' class by adding the 'currentState', 'choosePowerCardState', 'shieldCardState', 'swapCardState' and 'turboCardState' attributes and its getter methods to it. In Addition, logic was written into the 'enter' method.
2024-12-06 00:53:11 +01:00
Daniel Grigencha
dd95356abd
Updated 'TurnState' class.
...
Updated the 'TurnState' class by adding the 'player' attribute and its getter method to it.
2024-12-06 00:50:48 +01:00
Daniel Grigencha
84776c71b2
Updated 'SelectedPiecesMessage' class.
...
Updated the 'SelectedPiecesMessage' class by removing 'pieceIdentifier' attribute and its getter method from it. In Addition, the 'pieces' attribute and its getter method was added.
2024-12-06 00:47:33 +01:00
Daniel Grigencha
d07eee6251
Updated 'Piece' class.
...
Updated the 'Piece' class by overwriting the 'toString' method in it.
2024-12-06 00:45:56 +01:00
Hanno Fleischer
b601ff2cf7
renamed 'PossibleCardMEssage' to 'PossibleCardsMessage' and completed JavaDocs for method 'getPowerCardByType' in 'Player'
2024-12-06 00:36:06 +01:00