diff --git a/src/main/java/it/polimi/ingsw/gc14/Network/EventType.java b/src/main/java/it/polimi/ingsw/gc14/Network/EventType.java index 8d01f34..1bbc99d 100644 --- a/src/main/java/it/polimi/ingsw/gc14/Network/EventType.java +++ b/src/main/java/it/polimi/ingsw/gc14/Network/EventType.java @@ -16,5 +16,6 @@ public enum EventType { SKIP_NO_DRAWABLE, DISCONNECTED_PLAYER, RECONNECT_PLAYER, + NEXT_ROUND, NO_OPTIONAL_CARD } diff --git a/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvents/ApplyNextRound.java b/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvents/ApplyNextRound.java index cddbb0b..fe52676 100644 --- a/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvents/ApplyNextRound.java +++ b/src/main/java/it/polimi/ingsw/gc14/Network/NetworkEvents/ApplyNextRound.java @@ -22,7 +22,7 @@ public class ApplyNextRound extends NetworkEvent implements Serializable{ List players; //TODO public ApplyNextRound(Map slotPlayerMap, OrderLogicCard orderLogicCard, CurrentState currentState, List players){ - super("SERVER",EventType.DISCONNECTED_PLAYER,false); + super("SERVER",EventType.NEXT_ROUND,false); this.slotPlayerMap = slotPlayerMap; this.orderLogicCard = orderLogicCard; this.currentState = currentState;