mapStructure is used to store the map data. It offers all the methods for constructing map data.
, retriving map data, and updating map data.
Variable
Methods
The methods consBlock, addBlock, consRoom, addRoom, consDoor, addDoor, consItem, addItem, consPlayer, and addPlayer are used to construct those mazeObjects to the mapStructure. The method getBlock is used to get the certain block at the specified row and column.
The methods exportAll(PrintStream) and exportBlock(int Row, int Col, PrintStream) are used to export all the blocks or the certain block in the mapStructure.
The rest of the methods such as needMoreBlock, enterBlock, conSimPlayer, ServerUpdateMove, etc. are
used to update the mapStructure.