Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions | Protected Member Functions
com.linxonline.mallet.resources.TextureManager Class Reference
Inheritance diagram for com.linxonline.mallet.resources.TextureManager:
Inheritance graph
[legend]
Collaboration diagram for com.linxonline.mallet.resources.TextureManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TextureManager ()

Protected Member Functions

Texture createResource (final String _file)
Texture loadTexture (final String _file)
String redirectResourceLocation (final String _file)

Constructor & Destructor Documentation


Member Function Documentation

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]

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables