. . . "A locality can adopt an ordinance to prohibit the shooting of pneumatic guns in any area that is so heavily populated that it is dangerous to inhabitants and can require a parent, guardian, or other adult approved by a parent or guardian to supervise a minor under the age of 16 in use of pneumatic guns on private or public property." . .