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; }