Class Snapshot

java.lang.Object
tech.underoaks.coldcase.state.Snapshot

public class Snapshot extends Object
Represents a snapshot of the game state at a specific point in time.
  • Constructor Details

    • Snapshot

      public Snapshot(Map originalMap)
      Creates a snapshot of the provided Map.
      Parameters:
      originalMap - The map to snapshot.
  • Method Details

    • getSnapshotMap

      public Map getSnapshotMap()
      Gets the Map that is being stored in this Snapshot
      Returns:
      The Map