Interface BedWars.TeamUpgradesUtil

Enclosing interface:
BedWars

public static interface BedWars.TeamUpgradesUtil
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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
    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

      void removeWatchingUpgrades(UUID uuid)
      Remove from upgrades GUI.
    • getTotalUpgradeTiers

      int getTotalUpgradeTiers(IArena arena)
      Get total tiers in team upgrades to be bought in the given arena. Sum of tiers in team upgrades.
      Parameters:
      arena - arena
      Returns:
      count