Class AR10Handler

All Implemented Interfaces:
Serializable, AttackHandler

@Deprecated(since="0.51.0", forRemoval=true) public class AR10Handler extends AmmoWeaponHandler
Deprecated, for removal: This API element is subject to removal in a future version.
See Also:
  • Constructor Details

  • Method Details

    • handle

      public boolean handle(GamePhase phase, Vector<Report> vPhaseReport)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: WeaponHandler
      handle this weapons firing
      Specified by:
      handle in interface AttackHandler
      Overrides:
      handle in class WeaponHandler
      Parameters:
      phase - The present game phase
      vPhaseReport - The reports list to add new reports to
      Returns:
      a boolean value indicating whether this should be kept or not
    • calcAttackValue

      protected int calcAttackValue()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Calculate the attack value based on range
      Overrides:
      calcAttackValue in class WeaponHandler
      Returns:
      an int representing the attack value at that range.
    • getCapMisMod

      protected int getCapMisMod()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      getCapMisMod in class WeaponHandler