Beispiel #1
0
 public StateVarKeyComparable(string name, InnerType defaultValue) : base(name, defaultValue)
 {
     this.Logic = StateVariableLogicFactory.GetWorldStateLogic <LogicType>();
 }
Beispiel #2
0
 public StateVarKeyComparable(string name, InnerType defaultValue, Func <object, object, float> distanceFnc) : base(name, defaultValue)
 {
     this.Logic        = StateVariableLogicFactory.GetWorldStateLogic <LogicType>();
     this.distanceFunc = distanceFnc;
 }
Beispiel #3
0
 public StateVarKey(string name, ValueType defaultValue)
 {
     this.Logic        = StateVariableLogicFactory.GetWorldStateLogic <StateVariableLogicEquals>();
     this.Name         = name;
     this.defaultValue = defaultValue;
 }