Package megamek.common.util
Class YamlSerializerAmmoType
java.lang.Object
megamek.common.util.YamlSerializerEquipmentType
megamek.common.util.YamlSerializerAmmoType
-
Field Summary
FieldsFields inherited from class megamek.common.util.YamlSerializerEquipmentType
VARIABLE, VERSION
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class megamek.common.util.YamlSerializerEquipmentType
getBooleanFieldValue, getDoubleFieldValue, getFieldValue, getIntegerFieldValue, getStringFieldValue, serialize
-
Field Details
-
TYPENAME
- See Also:
-
-
Constructor Details
-
YamlSerializerAmmoType
public YamlSerializerAmmoType()Constructor for YamlSerializerAmmoType.
-
-
Method Details
-
serialize
Constructs a map containing the YAML-serializable data for the given ammo type.- Parameters:
ammo
- The ammo type to serialize- Returns:
- A map containing the YAML-serializable data for the equipment type
-