Added unit collision with player, formated boundary collision