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 TypeMethodDescriptionvoidloadSnapshot(EnergyContainer container) Loads the snapshot into the given container.
-
Method Details
-
loadSnapshot
Loads the snapshot into the given container.- Parameters:
container- The container to load the snapshot into.
-