This commit is contained in:
Anuken
2018-11-01 09:09:12 -04:00
parent 9a1bb69cd8
commit 8bf68aa020
4 changed files with 11 additions and 18 deletions

View File

@@ -2,7 +2,6 @@ package io.anuke.mindustry.maps;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.IntArray;
import io.anuke.annotations.Annotations.Serialize;
import io.anuke.mindustry.game.Saves.SaveSlot;
import io.anuke.mindustry.game.SpawnGroup;
@@ -25,8 +24,6 @@ public class Sector{
public int saveID = -1;
/**Num of missions in this sector that have been completed so far.*/
public int completedMissions;
/**List of links to other sector coords.*/
public IntArray links = new IntArray();
/**Display texture. Needs to be disposed.*/
public transient Texture texture;

View File

@@ -35,7 +35,7 @@ public class Sectors{
private final GridMap<Sector> grid = new GridMap<>();
private final SectorPresets presets = new SectorPresets();
private final Array<Item> allOres = Item.getAllOres();
private AsyncExecutor executor = new AsyncExecutor(6);
private final AsyncExecutor executor = new AsyncExecutor(6);
public void playSector(Sector sector){
if(sector.hasSave() && SaveIO.breakingVersions.contains(sector.getSave().getBuild())){
@@ -109,6 +109,7 @@ public class Sectors{
for(GridPoint2 g : Geometry.d4){
createSector(x + g.x, y + g.y);
Sector other = grid.get(x + g.x, y + g.y);
}
}