package be.demmel.jgws;
import java.util.ArrayList;
import java.util.List;
import be.demmel.jgws.utils.GWVector;
import be.demmel.jgws.utils.IDManager;
public class MapData {
private int gameFileID, mapId, gameMapId;
private boolean outpost, pve;
private int districtCountry, districtNumber;
private IDManager agentIDs, localIDs;
private List<GWVector> possibleSpawns;
private List<NpcData> npcs;
public MapData() {
//FIXME: what if it runs out of IDs?
this.agentIDs = new IDManager(1, 1000);
this.localIDs = new IDManager(1, 1000);
this.possibleSpawns = new ArrayList<>();
this.npcs = new ArrayList<>();
}
public int getMapID() {
return mapId;
}
public void setMapID(int MapID) {
this.mapId = MapID;
}
public IDManager getAgentIDs() {
return agentIDs;
}
public void setAgentIDs(IDManager agentIDs) {
this.agentIDs = agentIDs;
}
public int getDistrictCountry() {
return districtCountry;
}
public void setDistrictCountry(int districtCountry) {
this.districtCountry = districtCountry;
}
public int getDistrictNumber() {
return districtNumber;
}
public void setDistrictNumber(int districtNumber) {
this.districtNumber = districtNumber;
}
public int getGameFileID() {
return gameFileID;
}
public void setGameFileID(int gameFileID) {
this.gameFileID = gameFileID;
}
public int getGameMapID() {
return gameMapId;
}
public void setGameMapID(int gameMapID) {
this.gameMapId = gameMapID;
}
public boolean isIsOutpost() {
return outpost;
}
public void setIsOutpost(boolean isOutpost) {
this.outpost = isOutpost;
}
public boolean isIsPve() {
return pve;
}
public void setIsPve(boolean isPve) {
this.pve = isPve;
}
public IDManager getLocalIDs() {
return localIDs;
}
public void setLocalIDs(IDManager localIDs) {
this.localIDs = localIDs;
}
public List<GWVector> getPossibleSpawns() {
return possibleSpawns;
}
public void setPossibleSpawns(List<GWVector> possibleSpawns) {
this.possibleSpawns = possibleSpawns;
}
public void addNpc(NpcData npc) {
this.npcs.add(npc);
}
}