phetsims / scenery

Scenery is an HTML5 scene graph.
MIT License
54 stars 12 forks source link

createGatedVisibleProperty should be a Class #1641

Open zepumph opened 3 months ago

zepumph commented 3 months ago

Promoting TODO, and part of buoyancy code review.

zepumph commented 3 months ago

From buoyancy design meeting today, we could use this for greenhouse in the cloud checkbox.

zepumph commented 3 months ago

I feel pretty confident about this change, as it was mostly just a conversion to a class, but I also updated to use optionize, and changed the greenhouse effect usage + migration rule. @samreid can you please spot check?