AStarTest.Map.SetWeight C# (CSharp) Method

SetWeight() public method

public SetWeight ( IntVector3 p, int weight ) : void
p IntVector3
weight int
return void
        public void SetWeight(IntVector3 p, int weight)
        {
            this.Grid[p.Z, p.Y, p.X].Weight = weight;
        }