phetsims / build-a-nucleus

"Build a Nucleus" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 5 forks source link

Only pass in globalToLocalPoint() and addAndDragParticle() instead of entire screenView in NucleonCreatorNode #147

Closed Luisav1 closed 1 year ago

Luisav1 commented 1 year ago

From #112. Currently passing in the whole screenView when only those two functions are needed. public constructor( particleType: ParticleType, screenView: BANScreenView<BANModel<T>>, particleTransform: ModelViewTransform2 )