Interface MapWriter<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

    • Method Detail

      • encodeMapFile

        void encodeMapFile​(@NotNull
                           @NotNull MapModel<G,​A,​R> mapModel,
                           @NotNull
                           @NotNull java.io.Writer writer)
                    throws java.io.IOException
        Write the whole map-data into a file.
        Parameters:
        mapModel - the MapModel to encode
        writer - the writer to write to
        Throws:
        java.io.IOException - In case of I/O problems when writing the map file.