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/backend/Backend.java

34 lines
688 B

package mightypork.gamecore.backend;
import mightypork.gamecore.render.RenderModule;
import mightypork.utils.eventbus.BusAccess;
import mightypork.utils.eventbus.clients.RootBusNode;
/**
* Application backend interface (set of core modules)
*
* @author MightyPork
*/
public abstract class Backend extends RootBusNode {
public Backend(BusAccess busAccess) {
super(busAccess);
}
/**
* Initialize backend modules, add them to event bus.<br>
* Event bus must already be available in the BusAccess.
*/
public abstract void initialize();
/**
* Get graphics module (renderer)
*
* @return graphics module
*/
public abstract RenderModule getRenderer();
}