EventBase | R Documentation |
Common functionality shared between simple and targeted events.
add_listener()
Add an event listener.
EventBase$add_listener(listener)
listener
the function to be executed on the event, which takes a single argument giving the time step when this event is triggered.
.timestep()
EventBase$.timestep()
.tick()
EventBase$.tick()
.process()
EventBase$.process()
clone()
The objects of this class are cloneable with this method.
EventBase$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.