Skip to content

Commit

Permalink
fix imports, phetsims/shred#38
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 1, 2023
1 parent 5d9c61f commit c98f607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions js/common/model/BANParticle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
* @author Luisa Vargas
*/

import Particle, { ParticleOptions, ParticleType } from '../../../../shred/js/model/Particle.js';
import Particle, { ParticleOptions } from '../../../../shred/js/model/Particle.js';
import BANConstants from '../BANConstants.js';
import buildANucleus from '../../buildANucleus.js';
import { ParticleTypeString } from '../../../../shred/js/model/ParticleAtom.js';

export type BANParticleOptions = ParticleOptions;
export default class BANParticle extends Particle {

public constructor( type: ParticleType, providedOptions?: BANParticleOptions ) {
public constructor( type: ParticleTypeString, providedOptions?: BANParticleOptions ) {
super( type, providedOptions );
this.animationVelocityProperty.value = BANConstants.PARTICLE_ANIMATION_SPEED;
}
Expand Down
1 change: 0 additions & 1 deletion js/common/model/ParticleType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class ParticleType extends EnumerationValue {
public readonly labelStringProperty: TReadOnlyProperty<string>,
public readonly colorProperty: ProfileColorProperty ) {
super();

}
}

Expand Down

0 comments on commit c98f607

Please sign in to comment.