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 void
Add
(org.bukkit.entity.Player player, UpgradeGUI gui) static void
CloseAll()
static boolean
Contains
(org.bukkit.entity.Player player) static boolean
Contains
(UpgradeGUI gui) static UpgradeGUI
Get
(org.bukkit.entity.Player player) static void
Remove
(org.bukkit.entity.Player player) static void
Remove
(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()
-