package net.brennholz.gui;
import me.wolfyscript.utilities.api.WolfyUtilities;
import me.wolfyscript.utilities.api.inventory.GuiCluster;
import me.wolfyscript.utilities.api.inventory.InventoryAPI;
import net.brennholz.challenges.Challenges;
public class InventoryHandler {
private Challenges challenges;
private WolfyUtilities wolfyUtilities;
private InventoryAPI inventoryAPI;
public InventoryHandler(Challenges challenges){
this.challenges = challenges;
this.wolfyUtilities = WolfyUtilities.getAPI(challenges);
this.inventoryAPI = wolfyUtilities.getInventoryAPI();
}
public void init(){
GuiCluster mainCluster = inventoryAPI.getOrRegisterGuiCluster("none");
mainCluster.registerGuiWindow(new SettingsGui(inventoryAPI));
mainCluster.setMainmenu("settings");
}
}