Package nl.minetopiasdb.api.banking
Class SelectorGUI
java.lang.Object
nl.minetopiasdb.api.banking.SelectorGUI
Class responsible for selector GUI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidopenAccountSelector(org.bukkit.entity.Player player, org.bukkit.OfflinePlayer target, BankAccountType type) Open the bankaccount selectorstatic voidopenSelectionMenu(org.bukkit.entity.Player player, org.bukkit.OfflinePlayer target, ATMOpenType reason) Open the bank account selection menu
-
Constructor Details
-
SelectorGUI
public SelectorGUI()
-
-
Method Details
-
openSelectionMenu
public static void openSelectionMenu(org.bukkit.entity.Player player, org.bukkit.OfflinePlayer target, ATMOpenType reason) Open the bank account selection menu- Parameters:
player- player that needs to see the selectortarget- owner of bankaccount (may be null if type isn'tBankAccountType.PERSONALreason- ATM open reason
-
openAccountSelector
public static void openAccountSelector(org.bukkit.entity.Player player, org.bukkit.OfflinePlayer target, BankAccountType type) Open the bankaccount selector- Parameters:
player- player that needs to see the selectortarget- owner of bankaccount (may be null if type isn'tBankAccountType.PERSONALtype- bankaccounttype
-