Class 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 startlist
      private java.lang.String subtitle
      optional subtitle for the Battlelands
    • 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()