No he didn't, there is a law,
Road Safety Road Rules 2009
236 Pedestrians not to cause a traffic hazard or obstruction
(1) A pedestrian must not cause a traffic hazard by moving into the path of a driver.
Penalty: 1 penalty unit.
(2) A pedestrian must not unreasonably obstruct the path of any driver or another pedestrian.
Penalty: 1 penalty unit.
(3) For subrule (2), a pedestrian does not unreasonably obstruct the path of another
pedestrian only by travelling more slowly than other pedestrians.
(4) A pedestrian must not stand on, or move onto, a road to—
(a) solicit contributions, employment or business from an occupant of a vehicle; or
(b) hitchhike; or
© display an advertisement; or
(d) sell or offer articles for sale; or
(e) wash or clean, or offer to wash or clean, the windscreen of a vehicle (other than a parked vehicle).
Penalty: 2 penalty units.