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 anEnvironment
was loaded.This listener provides call backs for different points during rendering anEnvironment
.This listener provides callbacks for when anEnvironment
was unloaded.TheGameWorld
class is a global environment manager that contains allEnvironments
and provides the currently activeEnvironment
andCamera
.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 anIEntity
from anIMapObject
.