megamek.server
Class ScenarioLoader.DamagePlan

java.lang.Object
  extended by megamek.server.ScenarioLoader.DamagePlan
Enclosing class:
ScenarioLoader

 class ScenarioLoader.DamagePlan
extends java.lang.Object

This class is used to store the damage plan for a entity it is loaded from the scenario file. It contains a vector of SpecDam.


Field Summary
(package private)  java.util.Vector<ScenarioLoader.SetAmmoTo> ammoSetTo
           
 Entity entity
           
 int nBlocks
           
(package private)  java.util.Vector<ScenarioLoader.SpecDam> specificDammage
           
 
Constructor Summary
ScenarioLoader.DamagePlan(Entity e)
           
ScenarioLoader.DamagePlan(Entity e, int n)
           
 
Method Summary
 void AddSpecificDammage(java.lang.String s)
          Converts N2:1 to Nornam hit to location 2 set armor to 1!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entity

public Entity entity

nBlocks

public int nBlocks

specificDammage

java.util.Vector<ScenarioLoader.SpecDam> specificDammage

ammoSetTo

java.util.Vector<ScenarioLoader.SetAmmoTo> ammoSetTo
Constructor Detail

ScenarioLoader.DamagePlan

public ScenarioLoader.DamagePlan(Entity e,
                                 int n)

ScenarioLoader.DamagePlan

public ScenarioLoader.DamagePlan(Entity e)
Method Detail

AddSpecificDammage

public void AddSpecificDammage(java.lang.String s)
Converts N2:1 to Nornam hit to location 2 set armor to 1!