Class MekMortarFlareHandler

All Implemented Interfaces:
Serializable, AttackHandler

public class MekMortarFlareHandler extends AmmoWeaponHandler
See Also:
  • Constructor Details

  • Method Details

    • calcDamagePerHit

      protected int calcDamagePerHit()
      Description copied from class: WeaponHandler
      Calculate the damage per hit.
      Overrides:
      calcDamagePerHit in class WeaponHandler
      Returns:
      an int representing the damage dealt per hit.
    • handle

      public boolean handle(GamePhase phase, Vector<Report> vPhaseReport)
      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