Package gaiasky.data.api
Interface ISceneLoader
- All Known Implementing Classes:
AbstractSceneLoader
,GeoJsonLoader
,JsonLoader
,OctreeLoader
,StarClusterLoader
public interface ISceneLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(String[] files, Scene scene) void
initialize
(String[] files, String dsLocation, Scene scene) void
initialize
(uk.ac.starlink.util.DataSource ds, Scene scene) com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity>
loadData()
Performs the loading and returns an array with the entities loaded.void
setDescription
(String description) void
void
void
-
Method Details
-
initialize
- Throws:
RuntimeException
-
initialize
- Throws:
RuntimeException
-
initialize
-
loadData
com.badlogic.gdx.utils.Array<com.badlogic.ashley.core.Entity> loadData() throws FileNotFoundExceptionPerforms the loading and returns an array with the entities loaded.- Returns:
- The loaded entities.
- Throws:
FileNotFoundException
-
setName
-
setDescription
-
setParams
-
setIndex
-