Divided the content of the room class into a similar class and a tiledroom class that uses tilemaps