AStarXNA.Game1.SetCellType C# (CSharp) Method

SetCellType() private method

private SetCellType ( GridCell cell, GridCellType type ) : void
cell GridCell
type GridCellType
return void
        void SetCellType(GridCell cell, GridCellType type)
        {
            if (cell == null)
            {
                return;
            }
            cell.Type = type;
        }