using FlockBuddy.Interfaces;
using Microsoft.Xna.Framework;

namespace FlockBuddy.SteeringBehaviors
{
	/// <summary>
	/// this behavior makes the agent wander about randomly
	/// </summary>
	public class Wander : BaseBehavior
	{
		#region Properties

		public override float DirectionChange
		{
			get
			{
				return 1f;
			}
		}

		public override float SpeedChange
		{
			get
			{
				return 1f;
			}
		}

		#endregion //Properties

		#region Methods

		/// <summary>
		/// Initializes a new instance of the <see cref="FlockBuddy.Evade"/> class.
		/// </summary>
		public Wander(IBoid dude)
			: base(dude, BehaviorType.Wander, BoidDefaults.WanderWeight)
		{
		}

		/// <summary>
		/// Called every fram to get the steering direction from this behavior
		/// </summary>
		/// <param name="time"></param>
		/// <returns></returns>
		public override Vector2 GetSteering()
		{
			//TODO:
			return Vector2.Zero * Weight;
		}

		#endregion //Methods
	}
}