Example #1
0
 KayaNodeRecord FindRecordInList(List<KayaNodeRecord> list, KayaNode n)
 {
     foreach (KayaNodeRecord r in list)
     {
         if (r.node.getValue() == n.getValue()) return r;
     }
     return null;
 }
Example #2
0
 public float estimate(KayaNode t)
 {
     return (target - t.getValue()).magnitude;
 }