Add: NEXTROUND EventType
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user