Class LateUpdateEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.general.LateUpdateEvent
Called every tick after the UpdateEvent has been called. This can be useful to
order execution.
Attention: This is a high frequency event! Be careful when doing extensive computations in this event or calling blocking methods, since that may have a big impact on Performance!
Attention: This is a high frequency event! Be careful when doing extensive computations in this event or calling blocking methods, since that may have a big impact on Performance!
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getTpf()
Gets the time-per-frame, i.e the amount of seconds between the last call and this call.
-
Constructor Details
-
LateUpdateEvent
public LateUpdateEvent(float tpf)
-
-
Method Details
-
getTpf
public float getTpf()Gets the time-per-frame, i.e the amount of seconds between the last call and this call.- Returns:
- the time-per-frame (in seconds).
-