Class LitVisualStorage

java.lang.Object
com.jozufozu.flywheel.impl.visualization.storage.LitVisualStorage

public class LitVisualStorage extends Object
Keeps track of what chunks/sections each listener is in, so we can update exactly what needs to be updated.
  • Constructor Details

    • LitVisualStorage

      public LitVisualStorage()
  • Method Details

    • plan

      public Plan<DynamicVisual.Context> plan()
    • isEmpty

      public boolean isEmpty()
    • addAndInitNotifier

      public void addAndInitNotifier(LitVisual visual)
    • enqueueLightUpdateSection

      public void enqueueLightUpdateSection(long section)
    • remove

      public boolean remove(LitVisual visual)
      Remove the visual from this storage.
      Parameters:
      visual - The visual to remove.
      Returns:
      true if the visual was removed, false otherwise.
    • clear

      public void clear()