/// <summary>
		///   Initialise an input trigger with the given condition.
		/// </summary>
		/// <param name = "condition"></param>
		public EventTrigger( AbstractCondition condition )
		{
			_inputCondition = condition;
			Enabled = true;
		}
Ejemplo n.º 2
0
 public ExclusiveCondition(AbstractCondition condition, params AbstractCondition[] excludeConditions)
     : base(excludeConditions.Concat(new [] { condition }).ToArray())
 {
     _condition         = condition;
     _excludeConditions = excludeConditions;
 }
		public ExclusiveCondition( AbstractCondition condition, params AbstractCondition[] excludeConditions )
			: base( excludeConditions.Concat( new [] { condition } ).ToArray() )
		{
			_condition = condition;
			_excludeConditions = excludeConditions;
		}
		public void InitializeTest()
		{			
			InputController = new WTC.InputController();
			AlwaysTrue = new DelegateCondition( () => true );
		}