From 65d00d9966367a2f3f43026f8c2c91d9b6de5c04 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Tue, 6 Aug 2024 10:28:26 -0600 Subject: [PATCH] Update documentation, see https://github.com/phetsims/density-buoyancy-common/issues/287 --- js/common/model/Mass.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/common/model/Mass.ts b/js/common/model/Mass.ts index 887e937e..a8a11295 100644 --- a/js/common/model/Mass.ts +++ b/js/common/model/Mass.ts @@ -638,6 +638,8 @@ export default abstract class Mass extends PhetioObject { }, applyState( mass: Mass, obj: MassIOStateObject ) { + // Some of the following attributes are not public, but are settable since this IO Type is declared as a static + // class member. This is preferable to making the attributes public everywhere. const SIZE_SCALE = DensityBuoyancyCommonQueryParameters.p2SizeScale; mass.matrix.set( Matrix3.fromStateObject( obj.matrix ) );