src/core/UIManager.js
/**
	* Shows radial elements around the crosshairs to visualize the attack direction
	* for a certain amount of time.
	*
	* @param {Number} angle - The angle that determines the radial element.
	* @return {UIManager} A reference to this UI manager.
	*/
Shows radial elements around the crosshairs to visualize the attack direction
for a certain amount of time.

@param {Number} angle - The angle that determines the radial element.
@return {UIManager} A reference to this UI manager.
Shows radial elements around the crosshairs to visualize the attack direction for a certain amount of time . @param { Number } angle - The angle that determines the radial element . @return { UIManager } A reference to this UI manager .
showDamageIndication( angle ) {
		if ( angle >= - PI25 && angle <= PI25 ) {
			this.sprites.frontIndicator.visible = true;
			this.endTimeDamageIndicationFront = this.currentTime + this.damageIndicationTime;
		} else if ( angle > PI25 && angle <= PI75 ) {
			this.sprites.rightIndicator.visible = true;
			this.endTimeDamageIndicationRight = this.currentTime + this.damageIndicationTime;
		} else if ( angle >= - PI75 && angle < - PI25 ) {
			this.sprites.leftIndicator.visible = true;
			this.endTimeDamageIndicationLeft = this.currentTime + this.damageIndicationTime;
		} else {
			this.sprites.backIndicator.visible = true;
			this.endTimeDamageIndicationBack = this.currentTime + this.damageIndicationTime;
		}
		return this;
	}
showDamageIndication ( angle ) { if ( angle >= - PI25 && angle <= PI25 ) { this . sprites . frontIndicator . visible = true ; this . endTimeDamageIndicationFront = this . currentTime + this . damageIndicationTime ; } else if ( angle > PI25 && angle <= PI75 ) { this . sprites . rightIndicator . visible = true ; this . endTimeDamageIndicationRight = this . currentTime + this . damageIndicationTime ; } else if ( angle >= - PI75 && angle < - PI25 ) { this . sprites . leftIndicator . visible = true ; this . endTimeDamageIndicationLeft = this . currentTime + this . damageIndicationTime ; } else { this . sprites . backIndicator . visible = true ; this . endTimeDamageIndicationBack = this . currentTime + this . damageIndicationTime ; } return this ; }
Shows radial elements around the crosshairs to visualize the attack direction
 for a certain amount of time.
Shows radial elements around the crosshairs to visualize the attack direction for a certain amount of time .