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;
 }