Package de.gurkenlabs.litiengine.environment
package de.gurkenlabs.litiengine.environment
Loading, owning, and updating maps and their live entity collections.
GameWorld manages the active
Environment. Map object loaders translate TMX objects
into engine entities as an environment loads.
-
ClassDescriptionThe
CustomMapObjectLoaderclass extends theMapObjectLoaderclass to provide custom functionality for loading map objects into entities.EntitySpawner<T extends IEntity>Represents an abstract entity spawner.The live collection of entities, map data, render layers, and physical state for one loaded map.This listener provides callbacks for different points over the life cycle of anIEnvironment(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:This interface provides methods that are required for loading anIEntityfrom anIMapObject.