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

@@ -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(){
}