Esempio n. 1
0
 public void updateVisiblePoints(List <IPoint> availablePoints, int height)
 {
     this.myFOV = MyVisibilityBehavior.getFoV(this.MyPosition, availablePoints, height);
 }
Esempio n. 2
0
 /// <summary>
 /// updates FoV taking into account FoV Behavior and visibility behavior
 /// </summary>
 /// <param name="availablePoints"></param>
 public void updateFoV(List <IPoint> availablePoints, int height)
 {
     myFOV = MyVisibilityBehavior.getFoV(MyPosition, MyFoVBehavior.getFOVPoints(this, availablePoints), height);
 }