summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs
blob: 9673e693f54447c6ac49d1a38a980da4202733fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Xml;
using XUtliPoolLib;

namespace XMainClient
{
	internal class AIRunTimeDoSelectFarthest : AIRunTimeNodeAction
	{
		public AIRunTimeDoSelectFarthest(XmlElement node) : base(node)
		{
		}

		public override bool Update(XEntity entity)
		{
			return XSingleton<XAITarget>.singleton.DoSelectFarthest(entity);
		}
	}
}