Package edu.nps.moves.dis7.enumerations
Class MunitionAppearance
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.MunitionAppearance
- All Implemented Interfaces:
Marshaller,Serializable,Cloneable
Generated from XML,
UID 36 marshal size 32
MunitionAppearance
UID 36 marshal size 32
MunitionAppearance
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic MunitionAppearance.BitsDescribes the status of the cover or shroud, UseCoverShroudStatusvalues for this fieldstatic MunitionAppearance.BitsDescribes the damaged appearance, UseAppearanceDamagevalues for this fieldstatic MunitionAppearance.BitsDescribes whether or not the engine is emitting smokestatic MunitionAppearance.BitsDescribes whether the entity is burning and flames are visiblestatic MunitionAppearance.BitsDescribes whether the entity is frozen and should not be dead reckonedstatic MunitionAppearance.BitsDescribes whether or not smoke or vapor is emanating from the entitystatic MunitionAppearance.BitsDescribes whether or not the guided munitions launch flash is presentstatic MunitionAppearance.BitsDescribes whether or not the entity is masked or cloakedstatic MunitionAppearance.BitsDescribes whether the power plant is on or offstatic MunitionAppearance.BitsDescribes whether the entity is active or deactivated, UseAppearanceEntityorObjectStatevalues for this fieldstatic MunitionAppearance.BitsDescribes the size of the vapor trail, UseAppearanceTrailingEffectsvalues for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorMunitionAppearance(MunitionAppearance.Bits wh, int value)Default constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionset(int start, int length, int value)Some bitfields are defined without specific bits enumeratedset(MunitionAppearance.Bits wh, int value)Accessor method to set valuetoString()Provide string representationMethods inherited from class edu.nps.moves.dis7.pdus.DisBitSet
calculateMask, calculateMask, getMarshalledSize, marshal, marshal, marshallCommon, setbits, unmarshal, unmarshalMethods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, valueOf, valueOf, valueOf, valueOf, xor
-
Field Details
-
DAMAGE
Describes the damaged appearance, UseAppearanceDamagevalues for this field -
ISSMOKEVAPOREMANATING
Describes whether or not smoke or vapor is emanating from the entity -
ISENGINEEMITTINGSMOKE
Describes whether or not the engine is emitting smoke -
VAPORTRAILSIZE
Describes the size of the vapor trail, UseAppearanceTrailingEffectsvalues for this field -
ISFLAMING
Describes whether the entity is burning and flames are visible -
LAUNCHFLASHPRESENT
Describes whether or not the guided munitions launch flash is present -
ISFROZEN
Describes whether the entity is frozen and should not be dead reckoned -
POWERPLANTON
Describes whether the power plant is on or off -
STATE
Describes whether the entity is active or deactivated, UseAppearanceEntityorObjectStatevalues for this field -
COVERSHROUDSTATUS
Describes the status of the cover or shroud, UseCoverShroudStatusvalues for this field -
MASKEDCLOAKED
Describes whether or not the entity is masked or cloaked
-
-
Constructor Details
-
MunitionAppearance
public MunitionAppearance()Default constructor -
MunitionAppearance
Default constructor with parameters- Parameters:
wh- Bits custom data structurevalue- bits of interest
-
-
Method Details
-
set
Accessor method to set value- Parameters:
wh- Bits custom data structurevalue- bits of interest- Returns:
- this object
-
set
Some bitfields are defined without specific bits enumerated- Parameters:
start- initial position in bit arraylength- number of bitsvalue- bits of interest- Returns:
- this object
-
toString
Provide string representation
-