Package gaiasky.data
Class StarClusterLoader
java.lang.Object
gaiasky.data.AbstractSceneLoader
gaiasky.data.StarClusterLoader
- All Implemented Interfaces:
ISceneLoader
-
Field Summary
Fields inherited from class gaiasky.data.AbstractSceneLoader
datasetDirectory, dataSource, filePaths, index, loggedArchetypes, parentName, scene
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>
com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>
loadData()
Performs the loading and returns an array with the entities loaded.void
setColor
(double[] clusterColor) void
setDescription
(String description) void
void
Methods inherited from class gaiasky.data.AbstractSceneLoader
initialize, initialize, initialize, setIndex, setParentName
-
Constructor Details
-
StarClusterLoader
public StarClusterLoader()
-
-
Method Details
-
setColor
public void setColor(double[] clusterColor) -
loadData
public com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity> loadData()Description copied from interface:ISceneLoader
Performs the loading and returns an array with the entities loaded.- Returns:
- The loaded entities.
-
getClusters
public com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity> getClusters() -
setName
-
setDescription
-
setParams
-