Class LitVisualStorage
java.lang.Object
com.jozufozu.flywheel.impl.visualization.storage.LitVisualStorage
Keeps track of what chunks/sections each listener is in, so we can update exactly what needs to be updated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAndInitNotifier(LitVisual visual) voidclear()voidenqueueLightUpdateSection(long section) booleanisEmpty()plan()booleanRemove the visual from this storage.
-
Constructor Details
-
LitVisualStorage
public LitVisualStorage()
-
-
Method Details
-
plan
-
isEmpty
public boolean isEmpty() -
addAndInitNotifier
-
enqueueLightUpdateSection
public void enqueueLightUpdateSection(long section) -
remove
Remove the visual from this storage.- Parameters:
visual- The visual to remove.- Returns:
trueif the visual was removed,falseotherwise.
-
clear
public void clear()
-