Package net.sf.colossus.xmlparser
Class BattlelandLoader
- java.lang.Object
-
- net.sf.colossus.xmlparser.BattlelandLoader
-
public class BattlelandLoader extends java.lang.ObjectBattlelandLoader loads the battle hex data- Author:
- Romain Dolbeau
-
-
Field Summary
Fields Modifier and Type Field Description private booleanisToweris the terrain a Tower ?private static java.util.logging.LoggerLOGGERprivate java.util.List<java.lang.String>startlisthold the list of label for the startlistprivate java.lang.Stringsubtitleoptional subtitle for the Battlelands
-
Constructor Summary
Constructors Constructor Description BattlelandLoader(java.io.InputStream batIS, BattleHex[][] h)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getStartList()java.lang.StringgetSubtitle()private voidhandleHex(org.jdom.Element el, BattleHex[][] h)private voidhandleStartlistHex(org.jdom.Element el)booleanisTower()
-
-
-
Field Detail
-
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
-
-
Constructor Detail
-
BattlelandLoader
public BattlelandLoader(java.io.InputStream batIS, BattleHex[][] h)
-
-
Method Detail
-
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()
-
-