Package 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
Fields Modifier and Type Field Description 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 startlistprivate java.lang.String
subtitle
optional 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.String
getSubtitle()
private void
handleHex(org.jdom.Element el, BattleHex[][] h)
private void
handleStartlistHex(org.jdom.Element el)
boolean
isTower()
-
-
-
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()
-
-