예제 #1
0
 ///Set the variable value of name
 public Variable SetVariableValue(string name, object value)
 {
     return(IBlackboardExtensions.SetVariableValue(this, name, value));
 }
예제 #2
0
 ///Get the variable value of name
 public T GetVariableValue <T>(string name)
 {
     return(IBlackboardExtensions.GetVariableValue <T>(this, name));
 }
예제 #3
0
 ///Get a Variable of ID and optionaly type
 public Variable GetVariableByID(string ID)
 {
     return(IBlackboardExtensions.GetVariableByID(this, ID));
 }
예제 #4
0
 ///Get a Variable of name and optionaly type
 public Variable GetVariable(string name, System.Type ofType = null)
 {
     return(IBlackboardExtensions.GetVariable(this, name, ofType));
 }
예제 #5
0
 ///Delete the variable with specified name
 public Variable RemoveVariable(string name)
 {
     return(IBlackboardExtensions.RemoveVariable(this, name));
 }
예제 #6
0
        ///----------------------------------------------------------------------------------------------

        //These exist here only for backward compatibility in case ppl used these methods in any reflection

        ///Add a new variable of name and type
        public Variable AddVariable(string name, System.Type type)
        {
            return(IBlackboardExtensions.AddVariable(this, name, type));
        }