Package gaiasky.util

Class Settings.DataSettings

java.lang.Object
gaiasky.util.Settings.DataSettings
Enclosing class:
Settings

public static class Settings.DataSettings extends Object
  • Field Details

    • location

      public String location
    • dataFiles

      public List<String> dataFiles
    • reflectionSkyboxLocation

      public String reflectionSkyboxLocation
    • highAccuracy

      public boolean highAccuracy
    • realGaiaAttitude

      public boolean realGaiaAttitude
  • Constructor Details

    • DataSettings

      public DataSettings()
  • Method Details

    • setSkyboxLocation

      public void setSkyboxLocation(String location)
      This method keeps compatibility with older versions of the configuration file where the setting reflectionSkyboxLocation was called skyboxLocation.
      Parameters:
      location - The reflection skybox location.
    • dataPath

      public Path dataPath(String pathStr, String dsLocation)
    • dataPath

      public Path dataPath(String path)
    • dataFile

      public String dataFile(String path, String dsLocation)
    • dataFile

      public String dataFile(String path)
    • dataFileHandle

      public com.badlogic.gdx.files.FileHandle dataFileHandle(String path, String dsLocation)
    • dataFileHandle

      public com.badlogic.gdx.files.FileHandle dataFileHandle(String path)
    • addSelectedCatalog

      public boolean addSelectedCatalog(Path catalog)
      Adds the given catalog descriptor file to the list of JSON selected files.
      Parameters:
      catalog - The catalog descriptor file pointer.
      Returns:
      True if the catalog was added, false if it does not exist, or it is not a file, or it is not readable, or it is already in the list.