public void updateVisiblePoints(List <IPoint> availablePoints, int height) { this.myFOV = MyVisibilityBehavior.getFoV(this.MyPosition, availablePoints, height); }
/// <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); }