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/ResourceSetup.java

38 lines
733 B

package mightypork.gamecore.resources;
import mightypork.gamecore.resources.audio.SoundRegistry;
import mightypork.gamecore.resources.fonts.FontRegistry;
import mightypork.gamecore.resources.textures.TextureRegistry;
/**
* Resource binder; used by apps to specify what resources are to be loaded.
*
* @author Ondřej Hruška (MightyPork)
*/
public interface ResourceSetup {
/**
* Add fonts to load.
*
* @param fonts font registry
*/
void addFonts(FontRegistry fonts);
/**
* Add sounds to load.
*
* @param sounds sound registry
*/
void addSounds(SoundRegistry sounds);
/**
* Add textures to load
*
* @param textures texture registry
*/
void addTextures(TextureRegistry textures);
}