use of org.bleachhack.module.ModuleCategory in project BleachHack by BleachDrinker420.
the class ModuleClickGuiScreen method initWindows.
public void initWindows() {
int len = ModuleManager.getModule(ClickGui.class).getSetting(0).asSlider().getValueInt();
int y = 50;
for (ModuleCategory c : ModuleCategory.values()) {
addWindow(new ModuleWindow(ModuleManager.getModulesInCat(c), 30, y, len, StringUtils.capitalize(c.name().toLowerCase()), c.getItem()));
y += 16;
}
for (Window w : getWindows()) {
if (w instanceof ClickGuiWindow) {
((ClickGuiWindow) w).hiding = true;
}
}
}
Aggregations