Klasse ArenaStorage
java.lang.Object
de.delinkedde.mobarenareborn.arena.ArenaStorage
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
ArenaStorage
public ArenaStorage()
-
-
Methodendetails
-
save
Serializes an arena to the given file, overwriting any existing content.- Parameter:
arena- the arena to writefile- the destination file- Löst aus:
IOException- if the file cannot be written
-
load
Loads an arena from the given file.Warps and spawnpoints whose world is not loaded are skipped rather than aborting the whole load, so a single broken entry does not discard an otherwise valid arena.
- Parameter:
file- the source file- Gibt zurück:
- the loaded arena
-