public DontSucceedInARow(BehaviourBase behaviour) : base("DontSucceedInARow", behaviour)
 {
     pastStatus = Status.INVALID;
 }
Esempio n. 2
0
 protected Decorator(string name, BehaviourBase behaviour)
 {
     this.name      = name;
     this.behaviour = behaviour;
 }
Esempio n. 3
0
 public Root(BehaviourContext _context, BehaviourBase _behaviour)
 {
     behaviourContext = _context;
     behaviour        = _behaviour;
 }
Esempio n. 4
0
 public Inverter(BehaviourBase behaviour) : base("Inverter", behaviour)
 {
 }
 public RepeateUntilFail(BehaviourBase behaviour) : base("RepeateUntilFail", behaviour)
 {
 }
Esempio n. 6
0
 public After(string name, float duration, BehaviourBase behaviour, Timer timer) : base(name, behaviour)
 {
     readyToRun    = false;
     this.duration = duration;
     this.timer    = timer;
 }