Interface BankEconomyHandler

All Superinterfaces:
EconomyHandler, Nameable
All Known Implementing Classes:
Government, Nation, Town

public interface BankEconomyHandler extends EconomyHandler
Defines methods necessary for the operation of a bank.
  • Method Details

    • getBankCap

      double getBankCap()
      Gets the max amount of money that can be in the bank.
      Returns:
      The max amount of money.
    • getBankAccountPrefix

      String getBankAccountPrefix()
      The prefix to be used for the bank account.
      Returns:
      A string providing the prefix.
    • getAccount

      BankAccount getAccount()
      Gets the bank account associated with this object
      Specified by:
      getAccount in interface EconomyHandler
      Returns:
      The BankAccount of this object.