Package edu.wisc.game.saved
Class BoardManager
java.lang.Object
edu.wisc.game.saved.BoardManager
Reading and writing Boards to CSV files
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
BoardManager
public BoardManager() 
 - 
 - 
Method Details
- 
saveToFile
 - 
readBoardFile
public static HashMap<String,Board> readBoardFile(File f, HashMap<String, Boolean> useImagesTable) throws IOException, IllegalInputExceptionReads a CSV file into which a number of boards have been written by Board.saveToFile()- Returns:
 - A hash map that maps episode IDs to initial boards.
        
Old: //#playerId,episodeId,y,x,shape,color //vmf001,20201008-131657-06RY9E,4,1,STAR,YELLOW New: //#playerId,episodeId,y,x,shape,color,objectType //vm-2021-08-29-b,20210829-224113-YWLKSX,1,2,STAR,RED,RED_STAR
 - Throws:
 IOExceptionIllegalInputException
 
 -