Fixed: Standing Order When Forfeit (MiniModel & Network)

This commit is contained in:
rubenpirreram
2026-05-16 10:31:21 +02:00
parent 93320b69bf
commit a9bc9c08f8
4 changed files with 12 additions and 7 deletions
@@ -11,6 +11,7 @@ import it.polimi.ingsw.gc14.Network.NetworkEvent;
import it.polimi.ingsw.gc14.View.IView;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@@ -19,9 +20,9 @@ import java.util.Map;
*/
public class EndedGame extends NetworkEvent implements Serializable{
List<Player> players;
ArrayList<Player> players;
//TODO
public EndedGame(Map<Slot, Player> slotPlayerMap, OrderLogicCard orderLogicCard, CurrentState currentState, List<Player> players){
public EndedGame(Map<Slot, Player> slotPlayerMap, OrderLogicCard orderLogicCard, CurrentState currentState, ArrayList<Player> players){
super("SERVER",EventType.ENDED_GAME,false);
this.slotPlayerMap = slotPlayerMap;
this.orderLogicCard = orderLogicCard;