Class DepositBox


  • public class DepositBox
    extends Object
    • Constructor Detail

      • DepositBox

        public DepositBox()
    • Method Detail

      • isOpen

        public static boolean isOpen()
      • open

        public static boolean open​(Bank.Location loc)
        Walks to the deposit box using the web and opens it.
        Parameters:
        loc - the deposit box you want to open
        Returns:
        returns true when we are in any deposit box or successfully clicked the deposit box
      • open

        public static boolean open​(Bank.Location loc,
                                   boolean strict)
        Walks to the deposit box using the web and opens it.
        Parameters:
        loc - the deposit box you want to open
        strict - if true it will guarantee you are at the correct deposit box before opening
        Returns:
        returns true when we are in the deposit box or successfully clicked the deposit box
      • open

        public static boolean open()
        Walks to the nearest deposit box determined via web
        Returns:
        returns true if we are in the deposit box or successfully clicked the deposit box
      • deposit

        public static boolean deposit​(String name,
                                      int amount)
      • deposit

        public static boolean deposit​(int id,
                                      int amount)
      • depositInventory

        public static boolean depositInventory()
      • depositEquipment

        public static boolean depositEquipment()
      • depositLoot

        public static boolean depositLoot()