Poc275/Mapmaker

JSON file doesn't paint to screen

Closed this issue · 1 comments

Reading the JSON file works OK, the screens are all populated, but when we go back to the MapMaker class to pain the screen, the tiles revert back to default. This is sort of as expected, because FileManager and MapMaker have separate collections of screens which don't update each other. BUT the text file works! How???

Just made the ImportJSONFile() function return its imported list of screens. This updates the collection in MapMaker ready for drawing.