示例#1
0
 public override void Initialize(Behavior3NodeCfg cfg)
 {
     base.Initialize(cfg);
     this.maxTime = cfg.GetInt32("maxTime", 0);
     this.name    = "MaxTime";
     this.title   = "Max <maxTime>ms";
 }
示例#2
0
 public override void Initialize(Behavior3NodeCfg cfg)
 {
     base.Initialize(cfg);
     this.parameters = new Dictionary <string, string>();
     this.properties = new Dictionary <string, string>();
     this.category   = Constants.ACTION;
 }
示例#3
0
 public override void Initialize(Behavior3NodeCfg cfg)
 {
     base.Initialize(cfg);
     this.endTime = cfg.GetInt32("milliseconds", 0);
     this.name    = "Wait";
     this.title   = "Wait <milliseconds>ms ";
 }
示例#4
0
        public virtual void Initialize(Behavior3NodeCfg cfg)
        {
            this.id          = cfg.id;
            this.name        = cfg.name;
            this.description = cfg.description;
            this.title       = cfg.title;

            this.parameters = new Dictionary <string, string>();
            this.properties = new Dictionary <string, string>();

            this.parameters = cfg.parameters;
            this.properties = cfg.properties;
        }
示例#5
0
 public override void Initialize(Behavior3NodeCfg cfg)
 {
     base.Initialize(cfg);
     this.children = new List <BaseNode>();
     this.category = Constants.COMPOSITE;
 }