mmb.beans.Saver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multimachinebuilder Show documentation
Show all versions of multimachinebuilder Show documentation
Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world.
THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<
The newest version!
/**
*
*/
package mmb.beans;
import com.fasterxml.jackson.databind.JsonNode;
import mmb.Nil;
/**
* Represents an object which can be saved
* @author oskar
*/
public interface Saver {
/**
* @return the saved data
*/
public @Nil JsonNode save();
/**
* Loads the following data object.
* @param data
*/
public void load(@Nil JsonNode data);
}