|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tankbattles.scene.TextureHelper
public class TextureHelper
Encapsulates the details of texture loading and default configuration.
Constructor Summary | |
---|---|
TextureHelper()
|
Method Summary | |
---|---|
static com.jme.image.Texture |
loadTexture(java.lang.String texturePath)
Loads a texture and sets its default combine parameters. |
static void |
setDefaultCombine(com.jme.image.Texture texture)
Sets the default combine mode for a texture. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextureHelper()
Method Detail |
---|
public static com.jme.image.Texture loadTexture(java.lang.String texturePath)
texturePath
- texture file path.
public static void setDefaultCombine(com.jme.image.Texture texture)
texture
- to be configured
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |