summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs b/Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs
new file mode 100644
index 00000000..9673e693
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/AI/AIRunTimeDoSelectFarthest.cs
@@ -0,0 +1,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);
+ }
+ }
+}