mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-08 12:51:51 +09:00
Former-commit-id: 1647fa32ef6894bd7db44f741f07c2f4dcdf9054 Former-commit-id: 0e5810dcfbe1fd59b13e7cabe9f1e93c5542da2d
27 lines
550 B
Java
27 lines
550 B
Java
package org.newdawn.slick.loading;
|
|
|
|
import java.io.IOException;
|
|
|
|
/**
|
|
* A description of any class providing a resource handle that be loaded
|
|
* at a later date (i.e. deferrred)
|
|
*
|
|
* @author kevin
|
|
*/
|
|
public interface DeferredResource {
|
|
|
|
/**
|
|
* Load the actual resource
|
|
*
|
|
* @throws IOException Indicates a failure to load the resource
|
|
*/
|
|
public void load() throws IOException;
|
|
|
|
/**
|
|
* Get a description of the resource to be loaded
|
|
*
|
|
* @return The description of the resource to be loaded
|
|
*/
|
|
public String getDescription();
|
|
}
|