Interface ResourcesContainerListener<T>

Type Parameters:
T - The type of the resource that is managed by the container.
All Superinterfaces:
java.util.EventListener, ResourcesContainerClearedListener

public interface ResourcesContainerListener<T>
extends ResourcesContainerClearedListener
This listener provides callbacks to observe ResourcesContainer instances.
See Also:
ResourcesContainer, Images, Fonts, Maps, Sounds, Spritesheets
  • Method Summary

    Modifier and TypeMethodDescription
    default voidadded​(java.lang.String resourceName, T resource)
    This method gets called after the ResourcesContainer.add method was executed.
    default voidcleared()
    This method gets called after the ResourcesContainer.clear method was executed.
    default voidremoved​(java.lang.String resourceName, T resource)
    This method gets called after the ResourcesContainer.remove method was executed.