megamek.server
Class ScenarioLoader.SetAmmoPlan

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

 class ScenarioLoader.SetAmmoPlan
extends java.lang.Object

This class is used to store the ammo Adjustments it is loaded from the scenario file. It contains a vector of SetAmmoTo.


Field Summary
(package private)  java.util.Vector<ScenarioLoader.SetAmmoTo> ammoSetTo
           
 Entity entity
           
 
Constructor Summary
ScenarioLoader.SetAmmoPlan(Entity e)
           
 
Method Summary
 void AddSetAmmoTo(java.lang.String s)
          Converts 2:1-34 to Location 2 Slot 1 set Ammo to 34
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entity

public Entity entity

ammoSetTo

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

ScenarioLoader.SetAmmoPlan

public ScenarioLoader.SetAmmoPlan(Entity e)
Method Detail

AddSetAmmoTo

public void AddSetAmmoTo(java.lang.String s)
Converts 2:1-34 to Location 2 Slot 1 set Ammo to 34