Class NukeStats

java.lang.Object
megamek.common.weapons.handlers.NukeStats

public class NukeStats extends Object
Dumb data structure intended to hold characteristics associated with various types of NUCLEAR WEAPONS (thanks Gandhi).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    This is the base damage to the weapon.
    int
    The depth, in hex levels, of the crater generated by this nuke at the impact hex Note that the crater radius is this number multiplied by 2
    int
    How much to subtract, per hex distance from impact point, from the base damage
    int
    The maximum distance, in hexes, from the impact point, at which "secondary" effects are applied to units
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • baseDamage

      public int baseDamage
      This is the base damage to the weapon. Note that a unit will never actually take this much damage unless the craterDepth is specified as 0.
    • degradation

      public int degradation
      How much to subtract, per hex distance from impact point, from the base damage
    • secondaryRadius

      public int secondaryRadius
      The maximum distance, in hexes, from the impact point, at which "secondary" effects are applied to units
    • craterDepth

      public int craterDepth
      The depth, in hex levels, of the crater generated by this nuke at the impact hex Note that the crater radius is this number multiplied by 2
  • Constructor Details

    • NukeStats

      public NukeStats()