Gridarta Editor
net.sf.gridarta.model.io.MapReader< G extends GameObject< G, A, ?, A extends MapArchObject< A > Interface Template Reference

Interface for classes that read map files. More...

+ Inheritance diagram for net.sf.gridarta.model.io.MapReader< G extends GameObject< G, A, ?, A extends MapArchObject< A >:
+ Collaboration diagram for net.sf.gridarta.model.io.MapReader< G extends GameObject< G, A, ?, A extends MapArchObject< A >:

Public Member Functions

List< G > getGameObjects ()
 Return the decoded game objects. More...
 
getMapArchObject ()
 Returns the MapArchObject read from this MapFileDecode. More...
 

Detailed Description

Interface for classes that read map files.

Author
Christian Hujer

Definition at line 31 of file MapReader.java.

Member Function Documentation

◆ getGameObjects()

List<G> net.sf.gridarta.model.io.MapReader< G extends GameObject< G, A, ?, A extends MapArchObject< A >.getGameObjects ( )

Return the decoded game objects.

Returns
the decoded game objects
Exceptions
IllegalStateExceptionin case the map arch hasn't been read yet

Referenced by net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R >.decodeMapFile(), net.sf.gridarta.gui.mapfiles.PickmapState< G, A, R >.loadPickmap(), net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R >.openMapFile(), and net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R >.revert().

+ Here is the caller graph for this function:

◆ getMapArchObject()

A net.sf.gridarta.model.io.MapReader< G extends GameObject< G, A, ?, A extends MapArchObject< A >.getMapArchObject ( )

Returns the MapArchObject read from this MapFileDecode.

Returns
the map arch object read from this map file decode
Exceptions
IllegalStateExceptionin case the map arch hasn't been read yet

Referenced by net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R >.decodeMapFile(), net.sf.gridarta.gui.mapfiles.PickmapState< G, A, R >.loadPickmap(), net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R >.openMapFile(), and net.sf.gridarta.model.mapmanager.AbstractMapManager< G, A, R >.revert().

+ Here is the caller graph for this function:

The documentation for this interface was generated from the following file: