public class TextureManager
extends java.lang.Object
Constructor and Description |
---|
TextureManager(java.lang.String texture_path) |
Modifier and Type | Method and Description |
---|---|
void |
addTexture(com.badlogic.gdx.graphics.Texture t,
java.lang.String fn) |
com.badlogic.gdx.graphics.Texture |
getTexture(java.lang.String file_name) |
java.lang.String[] |
getTextureList() |
java.lang.String |
getTexturePath() |
void |
loadTextures() |
void |
setTexturePath(java.lang.String texture_path) |
public TextureManager(java.lang.String texture_path) throws java.lang.Exception
java.lang.Exception
public void loadTextures() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getTextureList()
public com.badlogic.gdx.graphics.Texture getTexture(java.lang.String file_name)
public void addTexture(com.badlogic.gdx.graphics.Texture t, java.lang.String fn)
public void setTexturePath(java.lang.String texture_path) throws java.lang.Exception
java.lang.Exception
public java.lang.String getTexturePath()