mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 13:31:45 -08:00
Made team a separate class
This commit is contained in:
parent
8ac0949ddf
commit
9016c12d16
26 changed files with 86 additions and 85 deletions
|
|
@ -106,8 +106,8 @@ public class ApplicationTests{
|
|||
Time.update();
|
||||
Time.update();
|
||||
Time.setDeltaProvider(() -> 1f);
|
||||
unitGroups[waveTeam.ordinal()].updateEvents();
|
||||
assertFalse(unitGroups[waveTeam.ordinal()].isEmpty(), "No enemies spawned.");
|
||||
unitGroups[(int) waveTeam.id].updateEvents();
|
||||
assertFalse(unitGroups[(int) waveTeam.id].isEmpty(), "No enemies spawned.");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue