In the context of needing to cool down for survival reasons, during a heat wave + power outage + 100% humidity, I suppose it doesn't matter whether the beach you have access to is rocky or not.
Though I can guarantee on a hot day, 2.5 million people aren't making their way to beaches or water holes to cool off. And Brisbane is a sweaty place in Summer.