Package gaiasky.util
Class Settings.DataSettings
java.lang.Object
gaiasky.util.Settings.DataSettings
- Enclosing class:
- Settings
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addSelectedCatalog
(Path catalog) Adds the given catalog descriptor file to the list of JSON selected files.com.badlogic.gdx.files.FileHandle
dataFileHandle
(String path) com.badlogic.gdx.files.FileHandle
dataFileHandle
(String path, String dsLocation) void
setSkyboxLocation
(String location) This method keeps compatibility with older versions of the configuration file where the settingreflectionSkyboxLocation
was calledskyboxLocation
.
-
Field Details
-
location
-
dataFiles
-
reflectionSkyboxLocation
-
highAccuracy
public boolean highAccuracy -
realGaiaAttitude
public boolean realGaiaAttitude
-
-
Constructor Details
-
DataSettings
public DataSettings()
-
-
Method Details
-
setSkyboxLocation
This method keeps compatibility with older versions of the configuration file where the settingreflectionSkyboxLocation
was calledskyboxLocation
.- Parameters:
location
- The reflection skybox location.
-
dataPath
-
dataPath
-
dataFile
-
dataFile
-
dataFileHandle
-
dataFileHandle
-
addSelectedCatalog
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.
-