rlgamekit.map.data
Class MapLayer
java.lang.Object
rlgamekit.map.data.MapLayer
public class MapLayer
- extends java.lang.Object
One layer for a map.
|
Constructor Summary |
MapLayer(int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapLayer
public MapLayer(int width,
int height)
getWidth
public int getWidth()
getHeight
public int getHeight()
getOutside
public int getOutside()
- Get the value for places outside this map
- Returns:
- the outside
setOutside
public void setOutside(int outside)
- Set the value for places outside this map
- Parameters:
outside - the outside to set
getTileSetFileName
public java.lang.String getTileSetFileName()
- Returns:
- the tileSetFileName
setTileSetFileName
public void setTileSetFileName(java.lang.String tileSetFileName)
- Parameters:
tileSetFileName - the tileSetFileName to set
get
public int get(int x,
int y)
set
public void set(int x,
int y,
int value)
getXoff
public int getXoff(int x,
int y)
getYoff
public int getYoff(int x,
int y)
setXoff
public void setXoff(int x,
int y,
int value)
setYoff
public void setYoff(int x,
int y,
int value)
write
public void write(java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read(java.io.BufferedReader reader)
throws java.io.IOException
- Throws:
java.io.IOException