Search Results for

    Show / Hide Table of Contents

    Class SimulationStateSaveData

    Container for all data a ParticleSystem requires to save and load its complete state.

    Inheritance
    object
    SimulationStateSaveData
    Namespace: AS2
    Assembly: .dll
    Syntax
    [Serializable]
    public class SimulationStateSaveData

    Fields

    | Edit this page View Source

    anchorIdxHistory

    The history of the anchor particle indices.

    Declaration
    public ValueHistorySaveData<int> anchorIdxHistory
    Field Value
    Type Description
    ValueHistorySaveData<int>
    | Edit this page View Source

    anchorIsObjectHistory

    The history of the flag telling whether the anchor index refers to an object.

    Declaration
    public ValueHistorySaveData<bool> anchorIsObjectHistory
    Field Value
    Type Description
    ValueHistorySaveData<bool>
    | Edit this page View Source

    collisionDebugLines

    Declaration
    public CollisionChecker.DebugLine[] collisionDebugLines
    Field Value
    Type Description
    DebugLine[]
    | Edit this page View Source

    earliestRound

    The first round of the simulation (usually 0).

    Declaration
    public int earliestRound
    Field Value
    Type Description
    int
    | Edit this page View Source

    finishedRound

    The round in which the simulation finished.

    Declaration
    public int finishedRound
    Field Value
    Type Description
    int
    | Edit this page View Source

    inCollisionState

    Indicates whether the simulation is in a collision state or not.

    Declaration
    public bool inCollisionState
    Field Value
    Type Description
    bool
    | Edit this page View Source

    latestRound

    The last round of the simulation.

    Declaration
    public int latestRound
    Field Value
    Type Description
    int
    | Edit this page View Source

    objects

    The objects in the system (includes their state histories).

    Declaration
    public ParticleObjectSaveData[] objects
    Field Value
    Type Description
    ParticleObjectSaveData[]
    | Edit this page View Source

    particles

    The particles in the system (includes their state histories).

    Declaration
    public ParticleStateSaveData[] particles
    Field Value
    Type Description
    ParticleStateSaveData[]
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX