added more logic for the server state diagram

This commit is contained in:
Daniel Grigencha
2024-11-17 20:17:19 +01:00
parent 9662e1f684
commit f379a6b638
21 changed files with 374 additions and 16 deletions

View File

@@ -2,6 +2,7 @@
import pp.mdga.game.Piece;
import pp.mdga.message.client.*;
import pp.mdga.message.server.EndOfTurn;
import pp.mdga.message.server.PossibleCard;
import java.lang.System.Logger;
@@ -28,8 +29,6 @@ public void receivedNoPowerCard(NoPowerCard msg) { /* do nothing */ }
public void receivedNotReady(LobbyNotReady msg) { /* do nothing */ }
public void receivedPowerCardChoice(SelectCard msg) { /* do nothing */ }
public void receivedReady(LobbyReady msg) { /* do nothing */ }
public void receivedRequestDice(RequestDice msg) { /* do nothing */ }
@@ -37,12 +36,16 @@ public void receivedRequestDice(RequestDice msg) { /* do nothing */ }
// todo msg?
public void receivedRollRankingDice() { /* do nothing */ }
public void receivedSelectCard(SelectCard msg) { /* do nothing */ }
public void receivedSelectTSK(SelectTSK msg) { /* do nothing */ }
public void receivedSelectedPieces(SelectedPieces msg) { /* do nothing */ }
public void receivedStartGame(ClientStartGame msg) { /* do nothing */ }
public void sentEndOfTurn(EndOfTurn msg) { /* do nothing */ }
public void sentPossibleCard(PossibleCard msg) { /* do nothing */ }
// todo msg?, sent to everyone?