Esempio n. 1
0
 public BTConditionEvaluator(List <BTConditional> conditionals, BTLogic logicOpt, bool reevaluateEveryTick, ClearChildOpt clearOpt, BTNode child = null) : base(child)
 {
     this._conditionals        = conditionals;
     this.logicOpt             = logicOpt;
     this.reevaludateEveryTick = reevaluateEveryTick;
     this.clearOpt             = clearOpt;
 }
Esempio n. 2
0
		public BTConditionEvaluator (BTLogic logicOpt, bool reevaluateEveryTick, ClearChildOpt clearOpt, BTNode child = null) : base (child) {
			this._conditionals = new List<BTConditional>();
			this._conditionalInverts = new List<bool>();
			this.logicOpt = logicOpt;
			this.reevaludateEveryTick = reevaluateEveryTick;
			this.clearOpt = clearOpt;
		}