summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRuntimeRotateToTarget.cs
blob: 3779c06d9add902c1e2482fdfe1bb79e5a0e7279 (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 AIRuntimeRotateToTarget : AIRunTimeNodeAction
	{
		public AIRuntimeRotateToTarget(XmlElement node) : base(node)
		{
		}

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