net.sf.colossus.xmlparser
Class StrategicMapLoader

java.lang.Object
  extended by net.sf.colossus.xmlparser.StrategicMapLoader

public class StrategicMapLoader
extends java.lang.Object

StrategicMapLoader loads the masterboard data.

Author:
Romain Dolbeau

Field Summary
private  MasterHex[][] hexes
           
private  int horizSize
           
private static java.util.logging.Logger LOGGER
           
private  boolean[][] show
           
private  int vertSize
           
 
Constructor Summary
StrategicMapLoader(java.io.InputStream mapIS)
           
 
Method Summary
 MasterHex[][] getHexes()
           
 int getHorizSize()
           
 boolean[][] getShow()
           
 int getVertSize()
           
private  void handleHex(org.jdom.Element el)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

StrategicMapLoader

public StrategicMapLoader(java.io.InputStream mapIS)
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()