Add: NEXTROUND EventType

This commit is contained in:
rubenpirreram
2026-05-12 22:24:06 +02:00
parent e6f54fe16d
commit 40aa62e3d0
2 changed files with 2 additions and 1 deletions
@@ -16,5 +16,6 @@ public enum EventType {
SKIP_NO_DRAWABLE, SKIP_NO_DRAWABLE,
DISCONNECTED_PLAYER, DISCONNECTED_PLAYER,
RECONNECT_PLAYER, RECONNECT_PLAYER,
NEXT_ROUND,
NO_OPTIONAL_CARD NO_OPTIONAL_CARD
} }
@@ -22,7 +22,7 @@ public class ApplyNextRound extends NetworkEvent implements Serializable{
List<Player> players; List<Player> players;
//TODO //TODO
public ApplyNextRound(Map<Slot, Player> slotPlayerMap, OrderLogicCard orderLogicCard, CurrentState currentState, List<Player> players){ public ApplyNextRound(Map<Slot, Player> slotPlayerMap, OrderLogicCard orderLogicCard, CurrentState currentState, List<Player> players){
super("SERVER",EventType.DISCONNECTED_PLAYER,false); super("SERVER",EventType.NEXT_ROUND,false);
this.slotPlayerMap = slotPlayerMap; this.slotPlayerMap = slotPlayerMap;
this.orderLogicCard = orderLogicCard; this.orderLogicCard = orderLogicCard;
this.currentState = currentState; this.currentState = currentState;