As In the Days of Noah

Jesus told us that just prior to His return, it would be as in the days of Noah. But what was happening in the days of Noah that correlates to our current events?