Class Texture.Symbol

java.lang.Object
tripleplay.flump.Texture.Symbol
All Implemented Interfaces:
Symbol
Enclosing class:
Texture

public static class Texture.Symbol extends Object implements Symbol
  • Field Details

    • tile

      public Tile tile
    • origin

      public final pythagoras.f.IPoint origin
  • Constructor Details

    • Symbol

      public Symbol(String name, pythagoras.f.IPoint origin, Tile tile)
  • Method Details

    • setSource

      public void setSource(Tile tile)
    • name

      public String name()
      Description copied from interface: Symbol
      The exported name of this symbol.
      Specified by:
      name in interface Symbol
    • createInstance

      public Texture createInstance()
      Description copied from interface: Symbol
      Creates a new instance of this symbol.
      Specified by:
      createInstance in interface Symbol