Interface Config

All Known Implementing Classes:
ApplicationConfig

public interface Config
Configuration object.
  • Method Details

    • getConfigFolder

      String getConfigFolder()
      Default setting folder
      Returns:
      The path (relative to the .jar) where saves and setting are contained
    • getDisplayWidth

      int getDisplayWidth()
      Default display width.
      Returns:
      Initial display width.
    • getDisplayHeight

      int getDisplayHeight()
      Default display height.
      Returns:
      Initial display height.
    • isResizable

      boolean isResizable()
      Tells if the window is resizable or not.
      Returns:
      True if the window is resizable, false otherwise.
    • getStorageServiceType

      SupportedStorage getStorageServiceType()
      Gets type of storage service.
      Returns:
      Type of the current storage service.
    • getStorageService

      StorageService getStorageService()
      Gets storage service.
      Returns:
      Current storage service.
    • getMonsterAttackProbability

      double getMonsterAttackProbability()
      Gets the probability that a monster attacks during a fight.
      Returns:
      Monster attack probability.
    • getMonsterDodgeProbability

      double getMonsterDodgeProbability()
      Gets the probability that a monster dodges during a fight.
      Returns:
      Monster dodges during a fight.
    • getAppTitle

      String getAppTitle()
      App title getter;
      Returns:
      Default app title.
    • getPlayerStats

      Stats getPlayerStats()
      Default player stats getter.
      Returns:
      Default player stats.
    • getPlayerMaxDodges

      int getPlayerMaxDodges()
      Max dodges for the player.
      Returns:
      Max dodges for the player.
    • getProperties

      Properties getProperties()
      Properties getter.
      Returns:
      Current properties.