T - The type of the resource that is managed by the container.public interface ResourcesContainerListener<T> extends ResourcesContainerClearedListener
ResourcesContainer instances.ResourcesContainer,
Images,
Fonts,
Maps,
Sounds,
Spritesheets| Modifier and Type | Method and Description |
|---|---|
void |
added(java.lang.String resourceName,
T resource)
This method gets called after the
ResourcesContainer.add method was executed. |
void |
removed(java.lang.String resourceName,
T resource)
This method gets called after the
ResourcesContainer.remove method was executed. |
clearedvoid added(java.lang.String resourceName,
T resource)
ResourcesContainer.add method was executed.resourceName - The name by which the added resource is identified.resource - The added resource.ResourcesContainer.add(String, Object)void removed(java.lang.String resourceName,
T resource)
ResourcesContainer.remove method was executed.resourceName - The name by which the removed resource was identified.resource - The removed resource.ResourcesContainer.remove(String)