Package com.andrei1058.bedwars.api
Interface BedWars.TeamUpgradesUtil
- Enclosing interface:
BedWars
public static interface BedWars.TeamUpgradesUtil
-
Method Summary
Modifier and TypeMethodDescriptionint
getTotalUpgradeTiers
(IArena arena) Get total tiers in team upgrades to be bought in the given arena.boolean
isWatchingGUI
(org.bukkit.entity.Player player) Check if a player is watching the team upgrades menu.void
removeWatchingUpgrades
(UUID uuid) Remove from upgrades GUI.void
setWatchingGUI
(org.bukkit.entity.Player player) Set a player watching the team upgrades menu.
-
Method Details
-
isWatchingGUI
boolean isWatchingGUI(org.bukkit.entity.Player player) Check if a player is watching the team upgrades menu. -
setWatchingGUI
void setWatchingGUI(org.bukkit.entity.Player player) Set a player watching the team upgrades menu. -
removeWatchingUpgrades
Remove from upgrades GUI. -
getTotalUpgradeTiers
Get total tiers in team upgrades to be bought in the given arena. Sum of tiers in team upgrades.- Parameters:
arena
- arena- Returns:
- count
-