This commit is contained in:
Anuken 2022-04-28 18:25:39 -04:00
parent 969b70d512
commit 6c42dff884
4 changed files with 11 additions and 3 deletions

View file

@ -585,7 +585,7 @@ objective.destroyunits = [accent]Destroy: [][lightgray]{0}[]x Units
objective.enemiesapproaching = [accent]Enemies approaching in [lightgray]{0}[]
objective.destroycore = [accent]Destroy Enemy Core
objective.command = [accent]Command Units
objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected:\n[lightgray]{0}
objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected: [lightgray]{0}
loadout = Loadout
resources = Resources

View file

@ -210,7 +210,7 @@ public class SectorPresets{
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496)),
new TimerObjective("@objective.nuclearlaunch", 4 * 60 * 60).withMarkers(
new TextMarker("Evacuate base", 1, 1),
new MinimapMarker(338,378, Pal.remove)
new MinimapMarker(338, 378, 30f, 14f, Pal.remove)
).withFlags("nuke1")
);
};

View file

@ -362,7 +362,7 @@ public class Logic implements ApplicationListener{
}
}
first = state.rules.objectives.first();
first = state.rules.objectives.firstOpt();
completed = true;
}

View file

@ -499,6 +499,14 @@ public class MapObjectives{
this.color = color;
}
public MinimapMarker(float x, float y, float radius, float stroke, Color color){
this.x = x;
this.y = y;
this.stroke = stroke;
this.radius = radius;
this.color = color;
}
public MinimapMarker(){
}