mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-09 21:31:51 +09:00
added sources for Slick
Former-commit-id: 1647fa32ef6894bd7db44f741f07c2f4dcdf9054 Former-commit-id: 0e5810dcfbe1fd59b13e7cabe9f1e93c5542da2d
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user