public interface EventListener extends Identifiable
Space
.
Space
s in SARL are event driven. Most of the time,
EventListener
s in a Space
will be Agent
s. However,
any entity implementing the EventListener
can interact inside an
EventSpace
(e.g. UI)
Modifier and Type | Method and Description |
---|---|
void |
receiveEvent(event : Event)
Request the entity to receive a given
Event event. |
getID
def
receiveEvent(event : Event) : void
EventListener
Event
event.event
- the event to be receivedCopyright © 2021 the original authors or authors.