summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AIRunTimeNodeBase.cs
blob: 758ecbe048e47e663ef5e860d947022fc0c5d340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Xml;

namespace XMainClient
{
	internal class AIRunTimeNodeBase
	{
		protected NodeType _type;

		public AIRunTimeNodeBase(XmlElement node)
		{
			this._type = NodeType.NODE_TYPE_BASE;
		}

		public virtual bool Update(XEntity entity)
		{
			return true;
		}

		public virtual void AddChild(AIRunTimeNodeBase child)
		{
		}

		public NodeType GetNodeType()
		{
			return this._type;
		}

		public virtual void Print()
		{
		}
	}
}