public class AlarmSensor
extends cz.agents.alite.environment.eventbased.EventBasedSensor
Constructor and Description |
---|
AlarmSensor(AgentScoutEnvironment environment,
cz.agents.alite.common.entity.Entity relatedEntity) |
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(cz.agents.alite.common.event.Event event) |
void |
registerAlarmCallback(long deltaTimeInMillis,
AlarmCallback alarmCallback) |
public AlarmSensor(AgentScoutEnvironment environment, cz.agents.alite.common.entity.Entity relatedEntity)
public void registerAlarmCallback(long deltaTimeInMillis, AlarmCallback alarmCallback)
public void handleEvent(cz.agents.alite.common.event.Event event)
handleEvent
in interface cz.agents.alite.common.event.EventHandler
handleEvent
in class cz.agents.alite.environment.eventbased.EventBasedSensor