-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove SoccerBall.isActiveProperty (use phase instead), see #188
- Loading branch information
Showing
10 changed files
with
89 additions
and
99 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Copyright 2022-2023, University of Colorado Boulder | ||
|
||
import Enumeration from '../../../../phet-core/js/Enumeration.js'; | ||
import EnumerationValue from '../../../../phet-core/js/EnumerationValue.js'; | ||
import centerAndVariability from '../../centerAndVariability.js'; | ||
|
||
/** | ||
* SoccerBallPhase is used to identify what type of animation a SoccerBall is undergoing. | ||
* | ||
* @author Chris Klusendorf (PhET Interactive Simulations) | ||
* @author Sam Reid (PhET Interactive Simulations) | ||
*/ | ||
|
||
export class SoccerBallPhase extends EnumerationValue { | ||
public static readonly INACTIVE = new SoccerBallPhase(); | ||
public static readonly READY = new SoccerBallPhase(); | ||
public static readonly FLYING = new SoccerBallPhase(); | ||
public static readonly STACKING = new SoccerBallPhase(); | ||
public static readonly STACKED = new SoccerBallPhase(); | ||
private static readonly enumeration = new Enumeration( SoccerBallPhase ); | ||
} | ||
|
||
centerAndVariability.register( 'SoccerBallPhase', SoccerBallPhase ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.