Versatile Java game engine with pluggable backends (this was used in Rogue, I think)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gamecore/src/mightypork/gamecore/resources/DeferredResource.java

23 lines
344 B

package mightypork.gamecore.resources;
/**
* Deferred resource
*
* @author Ondřej Hruška (MightyPork)
*/
public interface DeferredResource {
/**
* Load the actual resource, if not loaded yet.
*/
void load();
/**
* Check if resource was successfully loaded.
*
* @return true if already loaded
*/
boolean isLoaded();
}