コード例 #1
0
			public ExpressionEnumerator(AssignmentExpression par) 
			{
				parent = par;
				nIndex = -1;
			}
コード例 #2
0
		public void InsertChangeStateAt(AssignmentExpression newValue, int index)
		{
			InsertDomElementAt("", "ChangeState", index, newValue);
		}
コード例 #3
0
		public void ReplaceChangeStateAt(AssignmentExpression newValue, int index)
		{
			ReplaceDomElementAt("", "ChangeState", index, newValue);
		}
コード例 #4
0
		public void AddChangeState(AssignmentExpression newValue)
		{
			AppendDomElement("", "ChangeState", newValue);
		}
コード例 #5
0
ファイル: ActionType.cs プロジェクト: lickey10/u_Behaviors
 public void ReplaceChangeStateAt(AssignmentExpression newValue, int index)
 {
     ReplaceDomElementAt("", "ChangeState", index, newValue);
 }
コード例 #6
0
ファイル: ActionType.cs プロジェクト: lickey10/u_Behaviors
 public void InsertChangeStateAt(AssignmentExpression newValue, int index)
 {
     InsertDomElementAt("", "ChangeState", index, newValue);
 }
コード例 #7
0
ファイル: ActionType.cs プロジェクト: lickey10/u_Behaviors
 public void AddChangeState(AssignmentExpression newValue)
 {
     AppendDomElement("", "ChangeState", newValue);
 }
コード例 #8
0
		public XMLRules.ActionType MakeStateChangeAction(string name, AiRuleEngine.VariableType type, ArithmeticExpression value)
		{
			XMLRules.ActionType action = new XMLRules.ActionType();
			AssignmentExpression assignment = new AssignmentExpression();
			assignment.AddVariable(MakeVariable(name, type).GetVariable());
			assignment.AddExpression(value);
			
			action.AddCertainty(new Altova.Types.SchemaDecimal(100));
			action.AddChangeState(assignment);
			
			return action;
		}