Added: last event MiniModel
This commit is contained in:
@@ -4,6 +4,8 @@ import it.polimi.ingsw.gc14.Model.Cards.BuildingCard;
|
||||
import it.polimi.ingsw.gc14.Model.Cards.TribeCard;
|
||||
import it.polimi.ingsw.gc14.Model.GamePackage.Board;
|
||||
import it.polimi.ingsw.gc14.Model.GamePackage.CurrentState;
|
||||
import it.polimi.ingsw.gc14.Network.EventType;
|
||||
import it.polimi.ingsw.gc14.Network.NetworkEvent;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.*;
|
||||
@@ -22,6 +24,7 @@ public class MiniModel implements Serializable {
|
||||
public ArrayList<BuildingCard> upperListBuildingCards;
|
||||
public ArrayList<BuildingCard> lowerListBuildingCards;
|
||||
public ArrayList<String> disconnectedPlayers;
|
||||
public NetworkEvent lastEvent;
|
||||
|
||||
/**
|
||||
* Map associating each occupied slot with the corresponding player.
|
||||
@@ -98,6 +101,11 @@ public class MiniModel implements Serializable {
|
||||
setPlayers(players);
|
||||
}
|
||||
|
||||
//TODO
|
||||
public void setLastEvent(NetworkEvent lastEvent) {
|
||||
this.lastEvent = lastEvent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Sets the list of totems still available for selection.
|
||||
|
||||
Reference in New Issue
Block a user