Class ArtilleryCannonWeapon

All Implemented Interfaces:
Serializable, ITechnology
Direct Known Subclasses:
LongTomCannon, SniperCannon, ThumperCannon

public abstract class ArtilleryCannonWeapon extends AmmoWeapon
Since:
Sep 25, 2004
See Also:
  • Constructor Details

    • ArtilleryCannonWeapon

      public ArtilleryCannonWeapon()
  • Method Details

    • isAlphaStrikeIndirectFire

      public boolean isAlphaStrikeIndirectFire()
      Description copied from class: WeaponType
      Returns true if this weapon type contributes to the AlphaStrike IF ability. This is identical to TW indirect fire for most but not all weapons (see e.g. IATMs)
      Overrides:
      isAlphaStrikeIndirectFire in class WeaponType
    • getCorrectHandler

      @Nullable public AttackHandler getCorrectHandler(ToHitData toHit, WeaponAttackAction waa, Game game, TWGameManager manager)
      Overrides:
      getCorrectHandler in class AmmoWeapon
    • adaptToGameOptions

      public void adaptToGameOptions(IGameOptions gameOptions)
      Description copied from class: Weapon
      Adapt the weapon type to the Game Options such as PPC Field Inhibitors or Dial Down Damage, usually adding or removing modes. When overriding this in a weapon subclass, call super()!
      Overrides:
      adaptToGameOptions in class Weapon
      Parameters:
      gameOptions - The GameOptions (game.getOptions())