moved collision for loops into a loadRoom() method