Ejemplo n.º 1
0
 /// <summary>
 /// Sets the parameters.
 /// </summary>
 /// <param name="aTargetGameObject">A target game object.</param>
 /// <param name="aAttackRadius_float">A attack radius_float.</param>
 /// <param name="aHealth_float">A health_float.</param>
 /// <param name="aMoveSpeed_float">A move speed_float.</param>
 public void setParameters(TurretUI aTargetGameObject, float aAttackRadius_float, float aHealth_float, float aMoveSpeed_float)
 {
     _targetTurretUI      = aTargetGameObject;
     _attackRadius        = aAttackRadius_float;
     _healthCurrent_float = aHealth_float;
     _moveSpeed_float     = aMoveSpeed_float;
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Sets the parameters.
		/// </summary>
		/// <param name="aTargetGameObject">A target game object.</param>
		/// <param name="aAttackRadius_float">A attack radius_float.</param>
		/// <param name="aHealth_float">A health_float.</param>
		/// <param name="aMoveSpeed_float">A move speed_float.</param>
		public void setParameters (TurretUI aTargetGameObject, float aAttackRadius_float, float aHealth_float, float aMoveSpeed_float)
		{
			_targetTurretUI 		= aTargetGameObject;
			_attackRadius			= aAttackRadius_float;
			_healthCurrent_float	= aHealth_float;
			_moveSpeed_float		= aMoveSpeed_float;


		}