de.placeblock.betterinventories.builder.content.SimpleGUIPaneBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BetterInventories Show documentation
Show all versions of BetterInventories Show documentation
Easy to use and extensive InventoryAPI for Spigot
package de.placeblock.betterinventories.builder.content;
import de.placeblock.betterinventories.content.pane.impl.simple.SimpleGUIPane;
import de.placeblock.betterinventories.gui.GUI;
/**
* Builder for creating SimpleGUIPanes
*/
@SuppressWarnings("unused")
public class SimpleGUIPaneBuilder extends BaseGUIPaneBuilder {
/**
* Creates a new SimpleGUIPaneBuilder
* @param gui The GUI for the Pane
*/
public SimpleGUIPaneBuilder(GUI gui) {
super(gui);
}
/**
* Builds the Pane
* @return The new Pane
*/
@Override
public SimpleGUIPane build() {
return new SimpleGUIPane(this.getGui(), getBestMinSize(), this.getBestMaxSize());
}
}