Interface Resource

All Superinterfaces:
java.lang.Comparable<Resource>
All Known Subinterfaces:
IMapObject, ITileset
All Known Implementing Classes:
Blueprint, EmitterData, MapObject, NamedResource, SoundResource, SpritesheetResource, Tileset

public interface Resource
extends java.lang.Comparable<Resource>
  • Method Summary

    Modifier and TypeMethodDescription
    default intcompareTo​(Resource obj) 
    java.lang.StringgetName()
    Gets the name.
    voidsetName​(java.lang.String name) 
  • Method Details

    • getName

      java.lang.String getName()
      Gets the name.
      Returns:
      the name
    • setName

      void setName​(java.lang.String name)
    • compareTo

      default int compareTo​(Resource obj)
      Specified by:
      compareTo in interface java.lang.Comparable<Resource>