Files
Terrarum/lib/slick-source/org/newdawn/slick/loading/DeferredResource.java
Song Minjae d3080ffb78 added sources for Slick
Former-commit-id: 1647fa32ef6894bd7db44f741f07c2f4dcdf9054
Former-commit-id: 0e5810dcfbe1fd59b13e7cabe9f1e93c5542da2d
2016-12-30 23:29:12 +09:00

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();
}