Package gaiasky.util
Class Settings.DataSettings
java.lang.Object
gaiasky.util.SettingsObject
gaiasky.util.Settings.DataSettings
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,Cloneable
- Enclosing class:
Settings
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanFields inherited from class gaiasky.util.SettingsObject
parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddSelectedCatalog(Path catalog) Adds the given catalog descriptor file to the list of JSON selected files.voidapply()clone()com.badlogic.gdx.files.FileHandledataFileHandle(String path) com.badlogic.gdx.files.FileHandledataFileHandle(String path, String dsLocation) voiddispose()protected voidvoidsetSkyboxLocation(String location) This method keeps compatibility with older versions of the configuration file where the settingreflectionSkyboxLocationwas calledskyboxLocation.protected voidMethods inherited from class gaiasky.util.SettingsObject
isEnabled, setParent
-
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 settingreflectionSkyboxLocationwas 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.
-
clone
- Overrides:
clonein classSettingsObject
-
setParentRecursive
- Specified by:
setParentRecursivein classSettingsObject
-
setupListeners
protected void setupListeners()- Specified by:
setupListenersin classSettingsObject
-
dispose
public void dispose() -
apply
public void apply()
-