Package net.sf.gridarta.model.io
Interface MapWriter<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
-
- All Known Implementing Classes:
DefaultMapWriter
public interface MapWriter<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>Interface for classes that write map files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidencodeMapFile(@NotNull MapModel<G,A,R> mapModel, @NotNull java.io.Writer writer)Write the whole map-data into a file.
-
-
-
Method Detail
-
encodeMapFile
void encodeMapFile(@NotNull @NotNull MapModel<G,A,R> mapModel, @NotNull @NotNull java.io.Writer writer) throws java.io.IOExceptionWrite the whole map-data into a file.- Parameters:
mapModel- the MapModel to encodewriter- the writer to write to- Throws:
java.io.IOException- In case of I/O problems when writing the map file.
-
-