public static void AddPropertyInstance(string agentType, Property pPropertyInstance) { AgentProperties bb = AgentProperties.Get(agentType); Debug.Check(bb != null); bb.AddPropertyInstance(pPropertyInstance); }
public static Property GetProperty(string agentType, uint variableId) { AgentProperties bb = AgentProperties.Get(agentType); Debug.Check(bb != null); Property pProperty = bb.GetProperty(variableId); return(pProperty); }
public static Property AddLocal(string agentType, string typeName, string variableName, string valueStr) { AgentProperties bb = AgentProperties.Get(agentType); //if agent type has no property and custom property if (bb == null) { bb = new AgentProperties(agentType); agent_type_blackboards[agentType] = bb; } Property pProperty = bb.AddLocal(typeName, variableName, valueStr); return(pProperty); }