AStarXNA.GridCell.Reset C# (CSharp) Méthode

Reset() public méthode

public Reset ( ) : void
Résultat void
        public void Reset ()
        {
            if (Type == GridCellType.Path)
            {
                type = GridCellType.Walkable;
            }
            State = GridCellState.NotVisited;
            Parent = null;
            H = G = 0;
        }