Class ReadOnlyEvent
java.lang.Object
modelarium.entities.attributes.ReadOnlyAttribute<Event<?>>
modelarium.entities.attributes.events.ReadOnlyEvent
Provides a read-only view of an event attribute.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether this event's trigger condition is currently met.toString()Returns the string representation of the event's triggered status.Methods inherited from class modelarium.entities.attributes.ReadOnlyAttribute
accessLevel, getMutableAttribute, isLogged, name
-
Method Details
-
toString
Returns the string representation of the event's triggered status. -
isTriggered
public boolean isTriggered()Returns whether this event's trigger condition is currently met.- Returns:
- true if the event is triggered, false otherwise
-