summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRunTimeResetTargets.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AI/AIRunTimeResetTargets.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AI/AIRunTimeResetTargets.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AI/AIRunTimeResetTargets.cs b/Client/Assets/Scripts/XMainClient/AI/AIRunTimeResetTargets.cs
new file mode 100644
index 00000000..ec444f62
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/AI/AIRunTimeResetTargets.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Xml;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class AIRunTimeResetTargets : AIRunTimeNodeAction
+ {
+ public AIRunTimeResetTargets(XmlElement node) : base(node)
+ {
+ }
+
+ public override bool Update(XEntity entity)
+ {
+ XSingleton<XAITarget>.singleton.ResetTargets(entity);
+ return true;
+ }
+ }
+}