public WorldParameter(WorldParser.WorldParameterType type, string name, double min, double max, string unit) { //used for state variables and action variables m_type = type; m_name = name; m_min = min; m_max = max; m_unit = unit; }
public MultiVariableParameter(string className, string objectName, string comment) { switch (className) { case "ACTION_VARIABLE": m_className = XMLTags.actionVarRefTag; m_type = WorldParser.WorldParameterType.ActionVariable; break; default: case "STATE_VARIABLE": m_className = XMLTags.stateVarRefTag; m_type = WorldParser.WorldParameterType.StateVariable; break; } m_name = objectName; m_comment = comment; }
public WorldParameter(WorldParser.WorldParameterType type, string name) { m_type = type; m_name = name; }
public WorldParameter(WorldParser.WorldParameterType type, string name, double min,double max,string unit) { //used for state variables and action variables m_type = type; m_name = name; m_min = min; m_max = max; m_unit = unit; }