converted from PHETCOMMON/util/Inheritance to PHET_CORE/inherit