AStarXNA.Game1.HandleRightButton C# (CSharp) Method

HandleRightButton() private method

private HandleRightButton ( Point position ) : void
position Point
return void
        void HandleRightButton(Point position)
        {
            var cell = grid.CellAtCoordinate(position.X, position.Y);
            SetCellType(cell, GridCellType.Walkable);
        }