Added thermal generator / Enemy bases with spawning

This commit is contained in:
Anuken
2018-08-05 17:00:26 -04:00
parent 07c19ce085
commit 66fab1b3df
35 changed files with 980 additions and 812 deletions
@@ -1,5 +1,6 @@
package io.anuke.mindustry.game;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.ObjectMap;
import com.badlogic.gdx.utils.ObjectSet;
import io.anuke.mindustry.world.Tile;
@@ -130,7 +131,7 @@ public class TeamInfo{
}
public class TeamData{
public final ThreadArray<Tile> cores = new ThreadArray<>();
public final Array<Tile> cores = new ThreadArray<>();
public final Team team;
public final boolean ally;
+7 -7
View File
@@ -11,7 +11,7 @@ public class Waves{
public static Array<SpawnGroup> getSpawns(){
return Array.with(
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
end = 8;
unitScaling = 2;
}},
@@ -21,7 +21,7 @@ public class Waves{
end = 14;
}},
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
begin = 11;
unitScaling = 2;
spacing = 2;
@@ -36,7 +36,7 @@ public class Waves{
end = 30;
}},
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
begin = 10;
unitScaling = 2;
unitAmount = 1;
@@ -79,7 +79,7 @@ public class Waves{
max = 7;
}},
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
begin = 82;
spacing = 3;
unitAmount = 4;
@@ -89,7 +89,7 @@ public class Waves{
ammoItem = Items.silicon;
}},
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
begin = 41;
spacing = 5;
unitAmount = 1;
@@ -99,7 +99,7 @@ public class Waves{
max = 10;
}},
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
begin = 35;
spacing = 3;
unitAmount = 4;
@@ -109,7 +109,7 @@ public class Waves{
end = 60;
}},
new SpawnGroup(UnitTypes.scout){{
new SpawnGroup(UnitTypes.dagger){{
begin = 42;
spacing = 3;
unitAmount = 4;