Package net.sf.gridarta.model.io
Interface MapReader<G extends GameObject<G,A,?>,A extends MapArchObject<A>>
-
- All Known Implementing Classes:
DefaultMapReader
public interface MapReader<G extends GameObject<G,A,?>,A extends MapArchObject<A>>Interface for classes that read map files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.List<G>getGameObjects()Return the decoded game objects.AgetMapArchObject()Returns the MapArchObject read from this MapFileDecode.
-
-
-
Method Detail
-
getMapArchObject
@NotNull A getMapArchObject()
Returns the MapArchObject read from this MapFileDecode.- Returns:
- the map arch object read from this map file decode
- Throws:
java.lang.IllegalStateException- in case the map arch hasn't been read yet
-
getGameObjects
@NotNull @NotNull java.util.List<G> getGameObjects()
Return the decoded game objects.- Returns:
- the decoded game objects
- Throws:
java.lang.IllegalStateException- in case the map arch hasn't been read yet
-
-