rl.leviathan.mapping
Class LeviathanMap
java.lang.Object
rl.common.mapping.Map
rl.common.mapping.HexMap
rl.leviathan.mapping.LeviathanMap
- All Implemented Interfaces:
- java.io.Serializable
public class LeviathanMap
- extends HexMap
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class rl.common.mapping.Map |
Map.Edge |
| Methods inherited from class rl.common.mapping.HexMap |
getHex, getHex, getHex, getHexCount, getHexInDirection, getHexInDirection, indexFor, isValidGameBoard, setHex, setHex, setHex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
LeviathanMapWidth
public static final int LeviathanMapWidth
- See Also:
- Constant Field Values
LeviathanMapHeight
public static final int LeviathanMapHeight
- See Also:
- Constant Field Values
LeviathanMap
public LeviathanMap()
getMapType
public java.lang.String getMapType()
- Specified by:
getMapType in class Map
getWidth
public int getWidth()
- Specified by:
getWidth in class Map
getHeight
public int getHeight()
- Specified by:
getHeight in class Map
setSize
public void setSize(int Width,
int Height)
throws java.lang.Exception
- Specified by:
setSize in class HexMap
- Throws:
java.lang.Exception
loadFromFile
public void loadFromFile(java.io.File f)
- Specified by:
loadFromFile in class Map
saveToFile
public void saveToFile(java.io.File f)
- Specified by:
saveToFile in class Map
setDefaultHex
protected void setDefaultHex(java.lang.String DefaultTerrain)
- Specified by:
setDefaultHex in class HexMap
toString
public java.lang.String toString()
- Overrides:
toString in class HexMap