public class ConfirmGUI extends CustomGUI implements org.bukkit.event.Listener
Constructor and Description |
---|
ConfirmGUI(org.bukkit.entity.Player player,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
void |
confirm() |
void |
deny() |
org.bukkit.inventory.Inventory |
getInventory() |
void |
onClick(org.bukkit.event.inventory.InventoryClickEvent e) |
void |
onClose(org.bukkit.event.inventory.InventoryCloseEvent e) |
void |
setInventory(org.bukkit.inventory.Inventory inventory) |
getCompleted, getPlayer, getTitle, setCompleted, setPlayer, setTitle
public ConfirmGUI(org.bukkit.entity.Player player, java.lang.String title)
public void confirm()
public void deny()
public void onClose(org.bukkit.event.inventory.InventoryCloseEvent e)
public void onClick(org.bukkit.event.inventory.InventoryClickEvent e)
public org.bukkit.inventory.Inventory getInventory()
public void setInventory(org.bukkit.inventory.Inventory inventory)