Once we have loaded the tile map, we need to link the resulting image with the game information. Our scenario class should contain the following:
In the following screenshot, we can see this data overlaid on top of our TMX map:
The rectangles represent the slots in which the player can place the turrets. The scenario stores only the centers of these squares, because the game layer will translate these positions into clickable squares.
The lines over the road represent ...