rl.centurion.mapping
Class CenturionMap
java.lang.Object
rl.common.mapping.Map
rl.common.mapping.HexMap
rl.centurion.mapping.CenturionMap
- All Implemented Interfaces:
- java.io.Serializable
public class CenturionMap
- 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
CenturionMapWidth
public static final int CenturionMapWidth
- See Also:
- Constant Field Values
CenturionMapHeight
public static final int CenturionMapHeight
- See Also:
- Constant Field Values
CenturionMap
public CenturionMap()
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
setRoadsAutoExit
public void setRoadsAutoExit(java.lang.Boolean AutoExit)
getRoadsAutoExit
public boolean getRoadsAutoExit()
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