Exemple #1
0
 ///Set the variable value of name
 public Variable SetVariableValue(string name, object value)
 {
     return(IBlackboardExtensions.SetVariableValue(this, name, value));
 }
Exemple #2
0
 ///Get the variable value of name
 public T GetVariableValue <T>(string name)
 {
     return(IBlackboardExtensions.GetVariableValue <T>(this, name));
 }
Exemple #3
0
 ///Get a Variable of ID and optionaly type
 public Variable GetVariableByID(string ID)
 {
     return(IBlackboardExtensions.GetVariableByID(this, ID));
 }
Exemple #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));
 }
Exemple #5
0
 ///Delete the variable with specified name
 public Variable RemoveVariable(string name)
 {
     return(IBlackboardExtensions.RemoveVariable(this, name));
 }
Exemple #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));
        }