Added tile collision handling to the Player object.