shout3d.core
Interface ResourceListener
- public abstract interface ResourceListener
This provides an interface for registering the interest of one
or more ResourceObservers.
The class implementing this interface must provide notice on the loading
of any resource to each of these ResourceObservers.
addResourceObserver
public void addResourceObserver(ResourceObserver ro,
java.lang.Object userData)
- This method registers the interest of a ResourceObserver
- Parameters:
observer
- the ResourceObserveruserData
- data that will be passed back to the observer's
onLoadDone method.
removeResourceObserver
public void removeResourceObserver(ResourceObserver ro)
- This method unregisters the interest of a ResourceObserver
- Parameters:
observer
- the ResourceObserver to unregister