|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.huguesjohnson.tiamat.graphics.Layer
class Layer - a layer (or plane) that contains drawable items
| Field Summary | |
static int |
DEFAULT_LAYER_TYPE
default layer type |
static int |
TYPE_DIALOG
a layer where dialogs are displayed |
static int |
TYPE_MAP
a layer with a map associated to it |
static int |
TYPE_SPRITE
a layer where sprites move |
| Constructor Summary | |
Layer()
|
|
Layer(int type)
|
|
Layer(java.lang.String mapPath,
Formatter formatter)
|
|
| Method Summary | |
Map |
getMap()
|
java.lang.String |
getMapPath()
|
java.lang.String |
getMapPathAbsolute()
|
int |
getType()
|
Map |
loadMap(Formatter formatter)
|
void |
setAbsoluteDir(java.lang.String absoluteDir)
|
void |
setMapPath(java.lang.String mapPath,
Formatter formatter)
|
void |
setType(int type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TYPE_MAP
public static final int TYPE_SPRITE
public static final int TYPE_DIALOG
public static final int DEFAULT_LAYER_TYPE
| Constructor Detail |
public Layer()
public Layer(int type)
public Layer(java.lang.String mapPath,
Formatter formatter)
| Method Detail |
public int getType()
public void setType(int type)
public Map getMap()
public Map loadMap(Formatter formatter)
public java.lang.String getMapPath()
public java.lang.String getMapPathAbsolute()
public void setMapPath(java.lang.String mapPath,
Formatter formatter)
public void setAbsoluteDir(java.lang.String absoluteDir)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||