Interface EnergySnapshot

All Known Implementing Classes:
SimpleEnergySnapshot

public interface EnergySnapshot
A snapshot of a EnergyContainer that can be loaded into another container or used to restore a container to a previous state.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Loads the snapshot into the given container.
  • Method Details

    • loadSnapshot

      void loadSnapshot(EnergyContainer container)
      Loads the snapshot into the given container.
      Parameters:
      container - The container to load the snapshot into.