added more logic for the server state diagram
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user