Interface Resource
- All Superinterfaces:
Comparable<Resource>
- All Known Subinterfaces:
IMapObject, ITileset
- All Known Implementing Classes:
Blueprint, EmitterAttributes, MapObject, NamedResource, SoundResource, SpritesheetResource, Tileset
Represents a resource that can be compared to other resources. This interface extends the Comparable interface for Resource objects.
-
Method Summary
-
Method Details
-
getName
-
setName
Sets the name of the resource.- Parameters:
name- The new name of the resource.
-
compareTo
Compares this resource with the specified resource for order.- Specified by:
compareToin interfaceComparable<Resource>- Parameters:
obj- The resource to be compared.- Returns:
- A negative integer, zero, or a positive integer as this resource is less than, equal to, or greater than the specified resource.
-