Exemple #1
0
 public InfluenceMap(NavMeshPathGraph navMesh, IOpenLocationRecord open, IClosedLocationRecord closed, IInfluenceFunction influenceFunction, float influenceThreshold)
 {
     this.NavMeshGraph = navMesh;
     this.Open = open;
     this.Closed = closed;
     this.InfluenceFunction = influenceFunction;
     this.InfluenceThreshold = influenceThreshold;
     this.NodesPerFlood = 50;
 }
Exemple #2
0
 public InfluenceMap(NavMeshPathGraph navMesh, IOpenLocationRecord open, IClosedLocationRecord closed, IInfluenceFunction influenceFunction, float influenceThreshold)
 {
     this.NavMeshGraph       = navMesh;
     this.Open               = open;
     this.Closed             = closed;
     this.InfluenceFunction  = influenceFunction;
     this.InfluenceThreshold = influenceThreshold;
     this.NodesPerFlood      = 50;
 }