mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-23 21:12:52 -08:00
Better loading screen / Fixed unit tests
This commit is contained in:
parent
5dfc3fd576
commit
bd15287420
9 changed files with 80 additions and 45 deletions
|
|
@ -41,16 +41,13 @@ public class ApplicationTests{
|
|||
ApplicationCore core = new ApplicationCore(){
|
||||
@Override
|
||||
public void setup(){
|
||||
headless = true;
|
||||
Vars.init();
|
||||
|
||||
headless = true;
|
||||
|
||||
load();
|
||||
content.createContent();
|
||||
|
||||
add(logic = new Logic());
|
||||
add(world = new World());
|
||||
add(netServer = new NetServer());
|
||||
|
||||
content.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ public class PowerTestFixture{
|
|||
static void initializeDependencies(){
|
||||
Core.graphics = new FakeGraphics();
|
||||
Vars.content = new ContentLoader();
|
||||
Vars.content.createContent();
|
||||
Log.setUseColors(false);
|
||||
Time.setDeltaProvider(() -> 0.5f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue