mmb.engine.files.Save 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.engine.files;
/**
* A reference to a saved game
* @author oskar
*/
public class Save {
/** The file with a saved game */
public AdvancedFile file;
/** Name of the saved game */
public String name;
/**
* Creates a save record for this save file
* @param file the file with save
*/
public Save(AdvancedFile file) {
this.file = file;
name = AdvancedFile.dirName(file.name())[1];
}
}