Modded consumers

This commit is contained in:
Anuken 2019-10-02 14:44:18 -04:00
parent 7dfe2116fe
commit e0ec9a047c
12 changed files with 77 additions and 42 deletions

View file

@ -5,6 +5,7 @@ import io.anuke.arc.util.*;
import io.anuke.mindustry.*;
import io.anuke.mindustry.content.*;
import io.anuke.mindustry.core.*;
import io.anuke.mindustry.game.*;
import io.anuke.mindustry.world.*;
import io.anuke.mindustry.world.blocks.*;
import io.anuke.mindustry.world.blocks.power.*;
@ -26,7 +27,12 @@ public class PowerTestFixture{
@BeforeAll
static void initializeDependencies(){
Core.graphics = new FakeGraphics();
Vars.content = new ContentLoader();
Vars.content = new ContentLoader(){
@Override
public void handleMappableContent(MappableContent content){
}
};
content.createContent();
Log.setUseColors(false);
Time.setDeltaProvider(() -> 0.5f);