Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
TextureManager () | |
Protected Member Functions | |
Texture | createResource (final String _file) |
Texture | loadTexture (final String _file) |
String | redirectResourceLocation (final String _file) |
Texture com.linxonline.mallet.resources.TextureManager.createResource | ( | final String | _file | ) | [protected] |
Should be overriden by all classes that extend this class. Called when a resource needs to be created.
Reimplemented from com.linxonline.mallet.resources.AbstractManager.
Texture com.linxonline.mallet.resources.TextureManager.loadTexture | ( | final String | _file | ) | [protected] |
Reimplemented in com.linxonline.mallet.resources.gl.GLTextureManager.
String com.linxonline.mallet.resources.TextureManager.redirectResourceLocation | ( | final String | _file | ) | [protected] |
This allow the developer to redirect what resource should be loaded up.
For example this would allow the request to be redirected to a lower quality or higher quality version of the requested resource. Override to make use of.
Reimplemented from com.linxonline.mallet.resources.AbstractManager.