Added sectors to tech tree / Bugfixes

This commit is contained in:
Anuken
2020-07-30 23:13:06 -04:00
parent ff990925f0
commit a4ddf90ef5
8 changed files with 113 additions and 93 deletions

View File

@@ -50,6 +50,25 @@ public class Objectives{
}
}
public static class SectorComplete extends SectorObjective{
public SectorComplete(SectorPreset zone){
this.preset = zone;
}
protected SectorComplete(){}
@Override
public boolean complete(){
return preset.sector.isCaptured();
}
@Override
public String display(){
return Core.bundle.format("requirement.capture",preset.localizedName);
}
}
public static class Launched extends SectorObjective{
public Launched(SectorPreset zone){