Modifier and Type | Method and Description |
---|---|
T |
event(Event<T> event)
Runs the on-entry procedure associated with this event.
|
Serializable |
getId() |
EntityHelper |
helper()
Returns a helper instance for this entity.
|
T |
signal(Event<T> event)
Signals the entity with the given event.
|
T |
signal(Event<T> event,
scala.concurrent.duration.Duration delay)
Signals the entity with the given event after the given delay.
|
T |
signal(Event<T> event,
long time)
Signals the entity with the given event at the given epoch time in ms.
|
String |
uniqueId()
Returns a string that uniquely represents an individual entity in the
database.
|
Serializable getId()
String uniqueId()
T signal(Event<T> event)
event
- T signal(Event<T> event, scala.concurrent.duration.Duration delay)
event
- T signal(Event<T> event, long time)
event
- T event(Event<T> event)
event
- EntityHelper helper()
Copyright © 2012–2022. All rights reserved.