Class SVTManager

java.lang.Object
gaiasky.util.svt.SVTManager
All Implemented Interfaces:
IObserver

public class SVTManager extends Object implements IObserver
Manages the SVT cache and indirection buffers. It processes the tile detection buffer, determines the observed tiles, loads them, adds them to the cache and updates the indirection buffer.
  • Constructor Details

    • SVTManager

      public SVTManager()
  • Method Details

    • nextSvtId

      public static int nextSvtId()
    • doneLoading

      public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
    • update

      public void update(FloatBuffer tileDetectionBuffer)
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.