SpaceObject |
EnvironmentGenerator.createAsteroid(CoordI2 dimension,
WorldManager worldManager) |
Create an asteroid composite entity
|
<T extends AbstractCompositeEntity> T |
EnvironmentGenerator.createAsteroid(Class<T> clazz,
String defNamePrefix,
List<String> defNameSuffixes,
CoordI2 dimension,
WorldManager worldManager) |
Create an asteroid composite entity
|
boolean |
EnvironmentGenerator.place(AbstractCompositeEntity compositeEntity,
Area2 area,
WorldManager worldManager) |
Places an asteroid in a certain area.
|
boolean |
EnvironmentGenerator.place(AbstractCompositeEntity compositeEntity,
CoordI2 position,
WorldManager worldManager) |
Places an asteroid at a certain position.
|
List<SpaceObject> |
EnvironmentGenerator.placeAsteroidBelt(int sizeMin,
int sizeMax,
double density,
double velocityMin,
double velocityMax,
CoordD2 vDirectionNorm,
Area2 area,
WorldManager worldManager,
BiPredicate<MutableCoordI2,CoordI2> randomPositionPredicate) |
Generates and places a whole belt of asteroids
|
void |
EnvironmentGenerator.scenarioContinuousAsteroidBelt(int sizeMin,
int sizeMax,
double density,
double velocityMin,
double velocityMax,
boolean fillAsteroidsInViewPorts,
boolean skipSceneAreas,
WorldManager worldManager) |
Spawns and despawns asteroids constantly that the player feels like flying inside of an asteroid belt.
|
void |
EnvironmentGenerator.scenarioDarkMatterGrid(double density,
WorldManager worldManager) |
Spawns and despawns dark matter objects around active players.
|
void |
EnvironmentGenerator.scenarioSceneGrid(int distance,
List<String> scenes,
WorldManager worldManager,
SceneRegistry sceneRegistry) |
Spawns certain scenes constantly around the player.
|