using CommonAI.Zone.ZoneEditor; using System; namespace CommonAIServer.Node { public class ZoneNodeFactory { public static ZoneNodeFactory Instance { get; private set; } static ZoneNodeFactory() { new ZoneNodeFactory(); } public ZoneNodeFactory() { ZoneNodeFactory.Instance = this; } public virtual ZoneNode CreateZoneNode(EditorTemplates data_root, ZoneNodeConfig cfg) { return new ZoneNode(data_root, cfg); } } }