Class LoopControl

java.lang.Object
VASSAL.tools.LoopControl

public class LoopControl extends Object
Code for controlling looping common to both TriggerAction and DoActionButton
  • Field Details

  • Constructor Details

    • LoopControl

      public LoopControl()
  • Method Details

    • loopTypeToDesc

      public static String loopTypeToDesc(String type)
      Convert a Loop Type to a localized description
      Parameters:
      type - loop type
      Returns:
      localized description
    • loopDescToType

      public static String loopDescToType(String desc)
      Convert a localized description of a loop type back to a raw type
      Parameters:
      desc - localized description of loop type
      Returns:
      loop type