Class Marshal


public class Marshal extends Object
Marshals given types of men, including leaders.
Since:
2016-02-15
  • Field Details

    • NA_DICE

      static final Dice NA_DICE
      Dice for men number appearing, as per Vol-2.
    • FIGHTS_PER_MAN

      static final int FIGHTS_PER_MAN
      See Also:
    • PCT_MAGIC_PER_LEVEL

      static final int PCT_MAGIC_PER_LEVEL
      Percent chance magic per level. This matches the number in Vol-2; however, note that due to natural selection, leaders will be observed with a higher frequency of magic.
      See Also:
    • PCT_WIZARD_MAGIC_PER_LEVEL

      static final int PCT_WIZARD_MAGIC_PER_LEVEL
      Percent chance for wizards magic per level. Since wizards aren't developed evolutionarily, need higher percentage to maintain par.
      See Also:
    • NUM_LEADERS_TO_PRINT

      static final int NUM_LEADERS_TO_PRINT
      Number of leaders to print. This (a) roughly simulates lieutenants in a cival war-era company, and (b) serves to fit a unit on a half digest sized page.
      See Also:
    • arena

      Arena arena
      Arena object to develop fighters.
    • menType

      MenType menType
      Type of men to construct.
    • menTotal

      int menTotal
      Number of men in force.
    • exitAfterArgs

      boolean exitAfterArgs
      Flag to escape after parsing arguments.
  • Constructor Details

    • Marshal

      public Marshal()
      Constructor.
  • Method Details

    • printBanner

      void printBanner()
      Print program banner.
    • printUsage

      public void printUsage()
      Print usage.
    • parseArgs

      public void parseArgs(String[] args)
      Parse arguments.
    • exitAfterArgs

      public boolean exitAfterArgs()
      Should we exit after parsing arguments?
    • assembleMen

      public void assembleMen()
      Main method.
    • runArena

      void runArena()
      Run Arena to develop leader figures.
    • reportHeader

      void reportHeader()
      Report unit header information.
    • reportWizard

      void reportWizard()
      Report on wizard-types.
    • reportLeaders

      void reportLeaders()
      Report on leader-types.
    • reportTroops

      void reportTroops()
      Report on troop-types.
    • main

      public static void main(String[] args)
      Main test method.