Package valorless.havenbags.gui
Class UpgradeGUI.OpenGUIs
java.lang.Object
valorless.havenbags.gui.UpgradeGUI.OpenGUIs
- Enclosing class:
- UpgradeGUI
Static class to keep track of all open UpgradeGUIs.
Used to close all open GUIs when the server stops or the plugin is disabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAdd(org.bukkit.entity.Player player, UpgradeGUI gui) static voidCloseAll()static booleanContains(org.bukkit.entity.Player player) static booleanContains(UpgradeGUI gui) static UpgradeGUIGet(org.bukkit.entity.Player player) static voidRemove(org.bukkit.entity.Player player) static voidRemove(UpgradeGUI gui)
-
Constructor Details
-
OpenGUIs
public OpenGUIs()
-
-
Method Details
-
Add
-
Contains
public static boolean Contains(org.bukkit.entity.Player player) -
Contains
-
Get
-
Remove
public static void Remove(org.bukkit.entity.Player player) -
Remove
-
CloseAll
public static void CloseAll()
-