public class DefaultVolatileSettings extends java.lang.Object implements VolatileSettings
VolatileSettings
.Constructor and Description |
---|
DefaultVolatileSettings(@NotNull java.io.File mapsDirectory)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.io.File |
getCurrentSaveMapDirectory()
Returns the default directory for saving maps.
|
@NotNull java.io.File |
getImageDirectory()
Returns the directory to save images to.
|
void |
setCurrentSaveMapDirectory(@NotNull java.io.File currentSaveMapDirectory)
Sets the default directory for saving maps.
|
void |
setImageDirectory(@NotNull java.io.File imageDirectory)
Sets the directory to save created image to.
|
public DefaultVolatileSettings(@NotNull @NotNull java.io.File mapsDirectory)
mapsDirectory
- the maps directory@NotNull public @NotNull java.io.File getImageDirectory()
VolatileSettings
getImageDirectory
in interface VolatileSettings
public void setImageDirectory(@NotNull @NotNull java.io.File imageDirectory)
VolatileSettings
setImageDirectory
in interface VolatileSettings
imageDirectory
- the image directory@NotNull public @NotNull java.io.File getCurrentSaveMapDirectory()
VolatileSettings
getCurrentSaveMapDirectory
in interface VolatileSettings
public void setCurrentSaveMapDirectory(@NotNull @NotNull java.io.File currentSaveMapDirectory)
VolatileSettings
setCurrentSaveMapDirectory
in interface VolatileSettings
currentSaveMapDirectory
- the default directory for saving maps