public final void saveToFile ( Media media ) { try ( FileWriting writing = new FileWriting ( media ) ) { saving ( writing ) ; } catch ( final IOException exception ) { throw new LionEngineException ( exception , media , "Error on saving to file !" ) ; } }
Save world to the specified file .