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