Class LightSourceMapObjectLoader
java.lang.Object
de.gurkenlabs.litiengine.environment.MapObjectLoader
de.gurkenlabs.litiengine.environment.LightSourceMapObjectLoader
- All Implemented Interfaces:
IMapObjectLoader
public class LightSourceMapObjectLoader
extends MapObjectLoader
Constructor Summary
Constructors Modifier Constructor Description protected
LightSourceMapObjectLoader()
Method Summary
Modifier and Type Method Description protected LightSource
createLightSource(IMapObject mapObject, int intensity, java.awt.Color color, LightSource.Type lightType, boolean active)
java.util.Collection<IEntity>
load(Environment environment, IMapObject mapObject)
Methods inherited from class de.gurkenlabs.litiengine.environment.MapObjectLoader
afterLoad, getMapObjectType, isMatchingType, loadDefaultProperties
Constructor Details
LightSourceMapObjectLoader
protected LightSourceMapObjectLoader()
Method Details
load
createLightSource
protected LightSource createLightSource(IMapObject mapObject, int intensity, java.awt.Color color, LightSource.Type lightType, boolean active)