| Modifier and Type | Class and Description |
|---|---|
static class |
Map.MapType |
| Modifier and Type | Field and Description |
|---|---|
Map.MapType |
type
|
float |
uOffset
u offset of texture, in range [0.0f; 1.0f]
|
float |
uTile
u tiling of texture
|
float |
vOffset
v offset of texture, in range [0.0f; 1.0f]
|
float |
vTile
v tiling of texture
|
| Constructor and Description |
|---|
Map(Map.MapType type) |
| Modifier and Type | Method and Description |
|---|---|
Map |
clone() |
int |
compareTo(Map o) |
boolean |
equals(java.lang.Object obj) |
Texture |
getTexture() |
TextureID |
getTextureID() |
java.lang.String |
getTextureName() |
void |
restoreAssetReferences(AssetManager assets) |
void |
setTexture(AssetManager assets,
java.lang.String textureName)
Set the texture and texture name
|
void |
setTexture(Texture texture)
Set the texture and texture name
|
java.lang.String |
toString() |
void |
unreferenceAssets() |
public Map.MapType type
public float uTile
public float vTile
public float uOffset
public float vOffset
public Map(Map.MapType type)
public final Map clone()
clone in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int compareTo(Map o)
compareTo in interface java.lang.Comparable<Map>public final void setTexture(AssetManager assets, java.lang.String textureName)
public final void setTexture(Texture texture)
public final void unreferenceAssets()
public final void restoreAssetReferences(AssetManager assets)
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com