Package net.sf.colossus.xmlparser
Class StrategicMapLoader
- java.lang.Object
-
- net.sf.colossus.xmlparser.StrategicMapLoader
-
public class StrategicMapLoader extends java.lang.Object
StrategicMapLoader loads the masterboard data.- Author:
- Romain Dolbeau
-
-
Constructor Summary
Constructors Constructor Description StrategicMapLoader(java.io.InputStream mapIS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MasterHex[][]
getHexes()
int
getHorizSize()
boolean[][]
getShow()
int
getVertSize()
private void
handleHex(org.jdom.Element el)
-
-
-
Field Detail
-
LOGGER
private static final java.util.logging.Logger LOGGER
-
show
private boolean[][] show
-
horizSize
private int horizSize
-
vertSize
private int vertSize
-
hexes
private MasterHex[][] hexes
-
-
Method Detail
-
handleHex
private void handleHex(org.jdom.Element el) throws org.jdom.JDOMException
- Throws:
org.jdom.JDOMException
-
getHorizSize
public int getHorizSize()
-
getVertSize
public int getVertSize()
-
getShow
public boolean[][] getShow()
-
getHexes
public MasterHex[][] getHexes()
-
-