Package nl.minetopiasdb.api.banking
Class SelectorGUI
java.lang.Object
nl.minetopiasdb.api.banking.SelectorGUI
Class responsible for selector GUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
openAccountSelector
(org.bukkit.entity.Player player, org.bukkit.OfflinePlayer target, BankAccountType type) Open the bankaccount selectorstatic void
openSelectionMenu
(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.PERSONAL
reason
- 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.PERSONAL
type
- bankaccounttype
-