src/entities/Enemy.js
/**
	* Resets all animations.
	*
	* @return {Enemy} A reference to this game entity.
	*/
Resets all animations.
@return {Enemy} A reference to this game entity.
Resets all animations . @return { Enemy } A reference to this game entity .
resetAnimations() {
		for ( let animation of this.animations.values() ) {
			animation.enabled = false;
			animation.time = 0;
			animation.timeScale = 1;
		}
		return this;
	}
resetAnimations ( ) { for ( let animation of this . animations . values ( ) ) { animation . enabled = false ; animation . time = 0 ; animation . timeScale = 1 ; } return this ; }
Resets all animations.
Resets all animations .