Beispiel #1
0
 private bool OnPredicate(Human Human)
 {
     return Vec2.Dot((this.Node - this.Position), (Human.Position - this.Position)) >= 0.02f && (Human.Position != this.Position);
 }
Beispiel #2
0
 private List<Human> GetNearestNeighbour(Human LeMe)
 {
     return field.GetNearestNeighbour(LeMe.FieldIndex, LeMe.Position);
 }