Package gaiasky.data

Class GeoJsonLoader

All Implemented Interfaces:
ISceneLoader

public class GeoJsonLoader extends AbstractSceneLoader
GeoJSON data loader.
  • Constructor Details

    • GeoJsonLoader

      public GeoJsonLoader()
  • Method Details

    • loadData

      public com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity> loadData() throws FileNotFoundException
      Description copied from interface: ISceneLoader
      Performs the loading and returns an array with the entities loaded.
      Returns:
      The loaded entities.
      Throws:
      FileNotFoundException
    • convertToDoubleArray

      public double[][][] convertToDoubleArray(com.badlogic.gdx.utils.JsonValue json, int size, int d)
    • setName

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setParams

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