Class TriggerMapObjectLoader
java.lang.Object
de.gurkenlabs.litiengine.environment.MapObjectLoader
de.gurkenlabs.litiengine.environment.TriggerMapObjectLoader
- All Implemented Interfaces:
IMapObjectLoader
public class TriggerMapObjectLoader
extends MapObjectLoader
Constructor Summary
Constructors Modifier Constructor Description protected
TriggerMapObjectLoader()
Method Summary
Modifier and Type Method Description protected Trigger
createTrigger(IMapObject mapObject, Trigger.TriggerActivation act, java.lang.String message, boolean oneTime, int coolDown)
java.util.Collection<IEntity>
load(Environment environment, IMapObject mapObject)
protected void
loadActivators(IMapObject mapObject, Trigger trigger)
protected void
loadTargets(IMapObject mapObject, Trigger trigger)
Methods inherited from class de.gurkenlabs.litiengine.environment.MapObjectLoader
afterLoad, getMapObjectType, isMatchingType, loadDefaultProperties
Constructor Details
TriggerMapObjectLoader
protected TriggerMapObjectLoader()
Method Details
load
createTrigger
protected Trigger createTrigger(IMapObject mapObject, Trigger.TriggerActivation act, java.lang.String message, boolean oneTime, int coolDown)loadTargets
loadActivators