This commit is contained in:
Anuken
2020-06-08 17:19:47 -04:00
parent 87ab895253
commit 8ea28e1ced
147 changed files with 438 additions and 437 deletions

View File

@@ -1,15 +1,15 @@
package mindustry.game;
import arc.struct.Array;
import arc.struct.Seq;
import mindustry.content.*;
import mindustry.type.ItemStack;
public class DefaultWaves{
private Array<SpawnGroup> spawns;
private Seq<SpawnGroup> spawns;
public Array<SpawnGroup> get(){
public Seq<SpawnGroup> get(){
if(spawns == null && UnitTypes.dagger != null){
spawns = Array.with(
spawns = Seq.with(
new SpawnGroup(UnitTypes.dagger){{
end = 10;
unitScaling = 2f;
@@ -186,6 +186,6 @@ public class DefaultWaves{
}}
);
}
return spawns == null ? new Array<>() : spawns;
return spawns == null ? new Seq<>() : spawns;
}
}