Class Texture

java.lang.Object
tripleplay.flump.Texture
All Implemented Interfaces:
AutoCloseable, react.Closeable, Instance

public class Texture extends Object implements Instance
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from interface react.Closeable

    react.Closeable.Set, react.Closeable.Util
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    The layer that displays this instance.
    void
    paint(float dt)
    Notifies this instance that time has passed, for animation.
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • symbol

      public Texture.Symbol symbol()
    • layer

      public ImageLayer layer()
      Description copied from interface: Instance
      The layer that displays this instance.
      Specified by:
      layer in interface Instance
    • paint

      public void paint(float dt)
      Description copied from interface: Instance
      Notifies this instance that time has passed, for animation.
      Specified by:
      paint in interface Instance
      Parameters:
      dt - The time since the last update, in milliseconds.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface react.Closeable