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