Exemple #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";
 }
Exemple #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;
 }
Exemple #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 ";
 }
Exemple #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;
        }
Exemple #5
0
 public override void Initialize(Behavior3NodeCfg cfg)
 {
     base.Initialize(cfg);
     this.children = new List <BaseNode>();
     this.category = Constants.COMPOSITE;
 }