public void save(OutputStream out, SaveFileFormat format) throws SerializationException { if (backend == null) { throw new RuntimeException("Missing ArtemisSerializer, see #setBackend."); } world.inject(format); backend.save(out, format); }
public void save(OutputStream out, SaveFileFormat format) throws SerializationException { if (backend == null) { throw new RuntimeException("Missing ArtemisSerializer, see #setBackend."); } world.inject(format); backend.save(out, format); }
/** * Convenience method for immediately serializing a group of entities with the default * SaveFileFormat. For finer control or SaveFileFormat subclasses, use #save. */ protected final void save(OutputStream out, IntBag entities) { save(out, new SaveFileFormat(entities)); }
/** * Convenience method for immediately serializing a group of entities with the default * SaveFileFormat. For finer control or SaveFileFormat subclasses, use #save. */ protected final void save(OutputStream out, IntBag entities) { save(out, new SaveFileFormat(entities)); }