Search in sources :

Example 1 with ModPanel

use of basemod.ModPanel in project FruityMod-StS by gskleres.

the class FruityMod method receivePostInitialize.

@Override
public void receivePostInitialize() {
    // Mod badge
    Texture badgeTexture = new Texture(makePath(BADGE_IMG));
    ModPanel settingsPanel = new ModPanel();
    settingsPanel.addLabel("FruityMod does not have any settings (yet)!", 400.0f, 700.0f, (me) -> {
    });
    BaseMod.registerModBadge(badgeTexture, MODNAME, AUTHOR, DESCRIPTION, settingsPanel);
    Settings.isDailyRun = false;
    Settings.isTrial = false;
    Settings.isDemo = false;
}
Also used : ModPanel(basemod.ModPanel) Texture(com.badlogic.gdx.graphics.Texture)

Aggregations

ModPanel (basemod.ModPanel)1 Texture (com.badlogic.gdx.graphics.Texture)1