Rogue: Savage Rats, a retro-themed dungeon crawler
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.
 
 
rogue-savage-rats/src/mightypork/gamecore/resources/ResourceLoader.java

29 lines
524 B

package mightypork.gamecore.resources;
import mightypork.gamecore.eventbus.BusAccess;
/**
* {@link ResourceLoadRequest} listener
*
* @author Ondřej Hruška (MightyPork)
*/
public interface ResourceLoader {
/**
* Load a resource
*
* @param resource
*/
void loadResource(LazyResource resource);
/**
* Initialize the loader (Join the bus, start a stread etc)
*
* @param app app the loader works for. The event bus must already be
* initialized.
*/
void init(BusAccess app);
}