Package com.jozufozu.flywheel.api.visual
Interface LitVisual.Notifier
- Enclosing interface:
- LitVisual
public static interface LitVisual.Notifier
A notifier object that can be used to indicate to the impl
that the sections a visual is contained in have changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidInvoke this to indicate to the impl that your visual has moved to a different set of sections.
-
Method Details
-
notifySectionsChanged
void notifySectionsChanged()Invoke this to indicate to the impl that your visual has moved to a different set of sections.
The next frame, the impl will callLitVisual.collectLightSections(java.util.function.LongConsumer)again.
-