SaveGame..::..CountKnownTraps Method

Get the number of known traps around the player, storing the map coordinate of the last one found

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

Syntax


public int CountKnownTraps(
	out Nullable<GridCoordinate> mapCoordinate
)

Parameters

mapCoordinate
Type: Nullable<(Of <(<'GridCoordinate>)>)>%
The coordinate in which to store the location of the last trap found

Return Value

The number of traps found