mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-11 11:42:49 -08:00
Modded consumers
This commit is contained in:
parent
7dfe2116fe
commit
e0ec9a047c
12 changed files with 77 additions and 42 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue