Class BankAccessorManager

java.lang.Object
games.stendhal.server.entity.slot.BankAccessorManager

public class BankAccessorManager extends Object
Keeps track of "personal chests" which are an interface to the bank slots.
Author:
hendrik
  • Method Details

    • get

      public static BankAccessorManager get()
      Gets the BankAccessorManager.
      Returns:
      BankAccessorManager
    • add

      public void add(Banks bank, Entity entity)
      Adds an accessor for this bank.
      Parameters:
      bank - Banks
      entity - Accessor
    • get

      protected List<Entity> get(Banks bank)
      gets the list of accessors for think bank.
      Parameters:
      bank - Banks
      Returns:
      list of accessors or an empty list if this bank is unknown