Better loading screen / Fixed unit tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user