public WorldParameter(WorldParser.WorldParameterType type, string name)
 {
     m_type = type;
     m_name = name;
 }
Exemple #2
0
 public string GetParameterType()
 {
     return(WorldParser.GetVariableType(m_type));
 }
 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;
 }