示例#1
0
文件: Tank.cs 项目: koguz/se354_2013
 KayaNodeRecord FindRecordInList(List<KayaNodeRecord> list, KayaNode n)
 {
     foreach (KayaNodeRecord r in list)
     {
         if (r.node.getValue() == n.getValue()) return r;
     }
     return null;
 }
示例#2
0
文件: Tank.cs 项目: koguz/se354_2013
 public float estimate(KayaNode t)
 {
     return (target - t.getValue()).magnitude;
 }