Collision detection with walls and objects

A tilemap is cool but it seems to me that the OP already has an image.

So the String array I was saying is just invisible behind the scenes.