Class ParticleStateSaveData
Container for all data a Particle requires
to save and load its complete state.
Inheritance
ParticleStateSaveData
Namespace: AS2
Assembly: .dll
Syntax
[Serializable]
public class ParticleStateSaveData
Fields
activeBondHistory
Declaration
public ValueHistorySaveData<int> activeBondHistory
Field Value
algorithmType
The full type name of the algorithm attached to the particle.
This type name is used to find the correct algorithm type by
reflection when the particle state is loaded.
Declaration
public string algorithmType
Field Value
bondMovementHistory
Declaration
public ValueHistorySaveData<BondMovementInfoList> bondMovementHistory
Field Value
boolAttributes
Declaration
public List<ParticleAttributeSaveData<bool>> boolAttributes
Field Value
chirality
The particle's chirality.
Declaration
Field Value
comDir
The particle's compass direction.
Declaration
Field Value
dirAttributes
Declaration
public List<ParticleAttributeSaveData<Direction>> dirAttributes
Field Value
enumAttributes
Declaration
public List<ParticleAttributeEnumSaveData> enumAttributes
Field Value
expansionDirHistory
History of head directions.
Declaration
public ValueHistorySaveData<Direction> expansionDirHistory
Field Value
floatAttributes
Declaration
public List<ParticleAttributeSaveData<float>> floatAttributes
Field Value
intAttributes
Declaration
public List<ParticleAttributeSaveData<int>> intAttributes
Field Value
jointMovementHistory
Declaration
public ValueHistorySaveData<JointMovementInfo> jointMovementHistory
Field Value
mainColorHistory
Declaration
public ValueHistorySaveData<Color> mainColorHistory
Field Value
mainColorSetHistory
Declaration
public ValueHistorySaveData<bool> mainColorSetHistory
Field Value
markedBondHistory
Declaration
public ValueHistorySaveData<int> markedBondHistory
Field Value
pcAttributes
Declaration
public List<ParticleAttributePCSaveData> pcAttributes
Field Value
pinConfigurationHistory
Declaration
public PinConfigurationHistorySaveData pinConfigurationHistory
Field Value
plannedBeepsHistory
Declaration
public ValueHistorySaveData<bool>[] plannedBeepsHistory
Field Value
plannedMessagesHistory
Declaration
public ValueHistorySaveData<MessageSaveData>[] plannedMessagesHistory
Field Value
psetFailureHistory
Declaration
public ValueHistorySaveData<bool>[] psetFailureHistory
Field Value
receivedBeepsHistory
Declaration
public ValueHistorySaveData<bool>[] receivedBeepsHistory
Field Value
receivedMessagesHistory
Declaration
public ValueHistorySaveData<MessageSaveData>[] receivedMessagesHistory
Field Value
stringAttributes
Declaration
public List<ParticleAttributeSaveData<string>> stringAttributes
Field Value
tailPositionHistory
History of tail positions.
Declaration
public ValueHistorySaveData<Vector2Int> tailPositionHistory
Field Value
visibleBondHistory
Declaration
public ValueHistorySaveData<int> visibleBondHistory
Field Value