Class SimpleEnergySnapshot

java.lang.Object
earth.terrarium.botarium.common.energy.impl.SimpleEnergySnapshot
All Implemented Interfaces:
EnergySnapshot

public class SimpleEnergySnapshot extends Object implements EnergySnapshot
  • Constructor Details

    • SimpleEnergySnapshot

      public SimpleEnergySnapshot(EnergyContainer container)
  • Method Details

    • loadSnapshot

      public void loadSnapshot(EnergyContainer container)
      Description copied from interface: EnergySnapshot
      Loads the snapshot into the given container.
      Specified by:
      loadSnapshot in interface EnergySnapshot
      Parameters:
      container - The container to load the snapshot into.