Package de.gurkenlabs.litiengine.environment
package de.gurkenlabs.litiengine.environment
-
ClassDescriptionEntitySpawner<T extends IEntity>TODO: Implement spawn event/listener TODO: Implement additional constructors to enhance the APIThis listener provides callbacks for different points over the life cycle of an
IEnvironment(loaded/unloaded/cleared/initialized).This listener provides callbacks for when anEnvironmentwas loaded.This listener provides call backs for different points during rendering anEnvironment.This listener provides callbacks for when anEnvironmentwas unloaded.TheGameWorldclass is a global environment manager that contains allEnvironmentsand provides the currently activeEnvironmentandCamera.IEntitySpawner<T extends IEntity>SpawnMode specifies the behaviour of the EntitySpawner: ALLSPAWNPOINTS: the specified spawnAmount is spawned at each of the SpawnPoints individually ONERANDOMSPAWNPOINT: the specified spawnAmount is spawned at one random SpawnPoint RANDOMSPAWNPOINTS: the specified spawnAmount is distributed equally to all of the SpawnPointsThis interface provides methods that are required for loading anIEntityfrom anIMapObject.