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