Package gaiasky.data

Class StarClusterLoader

java.lang.Object
gaiasky.data.AbstractSceneLoader
gaiasky.data.StarClusterLoader
All Implemented Interfaces:
ISceneLoader

public class StarClusterLoader extends AbstractSceneLoader
Loads the star cluster catalogs from CSV files or STIL data sources. The column order is not important. The column names, however, must be:
  • Constructor Details

    • StarClusterLoader

      public StarClusterLoader()
  • Method Details

    • 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

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setParams

      public void setParams(Map<String,Object> params)