SaveGame..::..CountOpenDoors Method

Count the number of open doors around the players location, puting the location of the last one found into a map coordinate

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public int CountOpenDoors(
	out Nullable<GridCoordinate> mapCoordinate
)

Parameters

mapCoordinate
Type: Nullable<(Of <(<'GridCoordinate>)>)>%
The map coordinate into which the location should be placed

Return Value

The number of open doors found