Class TiledExtension

java.lang.Object
org.openpatch.scratch.tiled.TiledExtension
All Implemented Interfaces:
Extension

public final class TiledExtension extends Object implements Extension
Registers the tiled extension; found through ServiceLoader, learners never see it.
  • Constructor Details

    • TiledExtension

      public TiledExtension()
  • Method Details

    • id

      public String id()
      Description copied from interface: Extension
      A short unique id such as "tiled", used in messages.
      Specified by:
      id in interface Extension
    • name

      public String name()
      Description copied from interface: Extension
      A name for people, such as "Tiled maps".
      Specified by:
      name in interface Extension
    • version

      public String version()
      Description copied from interface: Extension
      The extension's own version.
      Specified by:
      version in interface Extension
    • install

      public void install(ExtensionContext ctx)
      Every layer of a stage draws its shown map layers, only the part the camera shows.
      Specified by:
      install in interface Extension
    • requires

      public String requires()
      First-party extensions are released together with the core.
      Specified by:
      requires in interface Extension