blob: efedd412ab5ecd4231342208b39bff31a306dc7c (
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
34
35
36
37
|
using System;
using System.Xml;
namespace XMainClient
{
internal class AIRunTimeRootNode : AIRunTimeNodeBase
{
public SharedData Data
{
get
{
return this._shared_data;
}
}
private AIRunTimeNodeBase _child;
private SharedData _shared_data;
public AIRunTimeRootNode(XmlElement node) : base(node)
{
this._child = null;
this._type = NodeType.NODE_TYPE_ROOT;
this._shared_data = new SharedData();
}
public override void AddChild(AIRunTimeNodeBase child)
{
this._child = child;
}
public override bool Update(XEntity entity)
{
return this._child.Update(entity);
}
}
}
|