Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
Sprite | getSprite (final String _file) |
String | getText (final String _keyword) |
void | setLanguage (final String _language) |
boolean | loadLanguageFile (final String _file) |
boolean | containsLanguageFile (final String _file) |
Settings | getConfig () |
void | setConfig (Settings _config) |
void | setFileSystem (final FileSystem _fileSystem) |
FileSystem | getFileSystem () |
void | clear () |
void | clean () |
void | shutdown () |
Object | clone () throws CloneNotSupportedException |
Static Public Member Functions | |
static synchronized ResourceManager | getResourceManager () |
Public Attributes | |
FileSystem | fileSystem = null |
ManagerInterface | spriteManager = null |
Protected Member Functions | |
ResourceManager () | |
Protected Attributes | |
final LanguageManager | languageManager = new LanguageManager() |
Settings | config = new Settings() |
Static Protected Attributes | |
static ResourceManager | resourceManager = null |
com.linxonline.mallet.resources.ResourceManager.ResourceManager | ( | ) | [protected] |
Remove unused resources
Clear all allocated resources irrelevant of references.
Object com.linxonline.mallet.resources.ResourceManager.clone | ( | ) | throws CloneNotSupportedException |
boolean com.linxonline.mallet.resources.ResourceManager.containsLanguageFile | ( | final String | _file | ) |
static synchronized ResourceManager com.linxonline.mallet.resources.ResourceManager.getResourceManager | ( | ) | [static] |
Sprite com.linxonline.mallet.resources.ResourceManager.getSprite | ( | final String | _file | ) |
String com.linxonline.mallet.resources.ResourceManager.getText | ( | final String | _keyword | ) |
boolean com.linxonline.mallet.resources.ResourceManager.loadLanguageFile | ( | final String | _file | ) |
void com.linxonline.mallet.resources.ResourceManager.setConfig | ( | Settings | _config | ) |
void com.linxonline.mallet.resources.ResourceManager.setFileSystem | ( | final FileSystem | _fileSystem | ) |
void com.linxonline.mallet.resources.ResourceManager.setLanguage | ( | final String | _language | ) |
Clear resources and shutdown connections with Sound System
Settings com.linxonline.mallet.resources.ResourceManager.config = new Settings() [protected] |
FileSystem com.linxonline.mallet.resources.ResourceManager.fileSystem = null |
final LanguageManager com.linxonline.mallet.resources.ResourceManager.languageManager = new LanguageManager() [protected] |
ResourceManager com.linxonline.mallet.resources.ResourceManager.resourceManager = null [static, protected] |