Package gaiasky.data

Class NewStarClusterLoader

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

public class NewStarClusterLoader 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

    • NewStarClusterLoader

      public NewStarClusterLoader()
  • 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)