net.sf.colossus.xmlparser
Class BattlelandLoader
java.lang.Object
net.sf.colossus.xmlparser.BattlelandLoader
public class BattlelandLoader
- extends java.lang.Object
BattlelandLoader loads the battle hex data
- Author:
- Romain Dolbeau
Field Summary |
private boolean |
isTower
is the terrain a Tower ? |
private static java.util.logging.Logger |
LOGGER
|
private java.util.List<java.lang.String> |
startlist
hold the list of label for the startlist |
private java.lang.String |
subtitle
optional subtitle for the Battlelands |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final java.util.logging.Logger LOGGER
startlist
private java.util.List<java.lang.String> startlist
- hold the list of label for the startlist
isTower
private boolean isTower
- is the terrain a Tower ?
subtitle
private java.lang.String subtitle
- optional subtitle for the Battlelands
BattlelandLoader
public BattlelandLoader(java.io.InputStream batIS,
BattleHex[][] h)
handleHex
private void handleHex(org.jdom.Element el,
BattleHex[][] h)
throws org.jdom.JDOMException
- Throws:
org.jdom.JDOMException
handleStartlistHex
private void handleStartlistHex(org.jdom.Element el)
getStartList
public java.util.List<java.lang.String> getStartList()
getSubtitle
public java.lang.String getSubtitle()
isTower
public boolean isTower()