Improved floodfill / Fixed resource use bug / Fixed editor turret draw
This commit is contained in:
@@ -19,6 +19,8 @@ public class Sector{
|
||||
public transient Texture texture;
|
||||
/**Goal of this sector-- what needs to be accomplished to unlock it.*/
|
||||
public transient Goal goal = new WaveGoal(30);
|
||||
/**Sector size; if more than 1, the coordinates are the bottom left corner.*/
|
||||
public int size = 1;
|
||||
|
||||
public SaveSlot getSave(){
|
||||
return control.getSaves().getByID(saveID);
|
||||
|
||||
@@ -16,6 +16,7 @@ import static io.anuke.mindustry.Vars.*;
|
||||
|
||||
public class Sectors{
|
||||
private static final int sectorImageSize = 16;
|
||||
private static final float sectorLargeChance = 0.1f;
|
||||
|
||||
private GridMap<Sector> grid = new GridMap<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user