Interface TickableVisual
- All Superinterfaces:
Visual
- All Known Subinterfaces:
SimpleTickableVisual
An interface giving
Visuals a hook to have a function called at
the end of every tick.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe context passed to the tick plan. -
Method Summary
-
Method Details
-
planTick
Plan<TickableVisual.Context> planTick()Invoked every tick.
The implementation is free to parallelize the invocation of this plan. You must ensure proper synchronization if you need to mutate anything outside this visual.
This plan and the one returned byDynamicVisual.planFrame()will never be invoked simultaneously.
Instancer/Instancecreation/acquisition is safe here.
-