Search in sources :

Example 6 with BindsConfig

use of org.terasology.engine.config.BindsConfig in project Terasology by MovingBlocks.

the class BindsSubsystemTest method setUp.

@BeforeEach
public void setUp() {
    bindsSubsystem = new BindsSubsystem();
    bindsConfiguration = new BindsConfigAdapter(new BindsConfig());
    context = new ContextImpl();
    context.put(BindsConfiguration.class, bindsConfiguration);
    bindsSubsystem.preInitialise(context);
    setUpMockModuleEnvironment();
}
Also used : BindsConfigAdapter(org.terasology.engine.core.subsystem.config.BindsSubsystem.BindsConfigAdapter) BindsConfig(org.terasology.engine.config.BindsConfig) ContextImpl(org.terasology.engine.context.internal.ContextImpl) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BindsConfig (org.terasology.engine.config.BindsConfig)6 Input (org.terasology.input.Input)2 UIButton (org.terasology.nui.widgets.UIButton)2 UILabel (org.terasology.nui.widgets.UILabel)2 BeforeEach (org.junit.jupiter.api.BeforeEach)1 ContextImpl (org.terasology.engine.context.internal.ContextImpl)1 SimpleUri (org.terasology.engine.core.SimpleUri)1 BindsConfigAdapter (org.terasology.engine.core.subsystem.config.BindsSubsystem.BindsConfigAdapter)1 RowLayout (org.terasology.nui.layouts.RowLayout)1