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

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