Class EmitterMapObjectLoader

java.lang.Object
de.gurkenlabs.litiengine.environment.MapObjectLoader
de.gurkenlabs.litiengine.environment.EmitterMapObjectLoader
All Implemented Interfaces:
IMapObjectLoader

public class EmitterMapObjectLoader extends MapObjectLoader
  • Constructor Details

    • EmitterMapObjectLoader

      protected EmitterMapObjectLoader()
  • Method Details

    • load

      public Collection<IEntity> load(Environment environment, IMapObject mapObject)
      Description copied from interface: IMapObjectLoader
      Loads entities from the specified map object within the given environment.
      Parameters:
      environment - The environment in which the entities are being loaded.
      mapObject - The map object containing the data for the entities.
      Returns:
      A collection of IEntity instances loaded from the map object.
    • createEmitterData

      public static EmitterAttributes createEmitterData(IMapObject mapObject)
    • updateMapObject

      public static void updateMapObject(EmitterAttributes emitterData, IMapObject mo)
    • createMapObject

      public static IMapObject createMapObject(EmitterAttributes emitterData)