Server.Items.TreasureMap.GetRandomLocation C# (CSharp) Method

GetRandomLocation() public static method

public static GetRandomLocation ( ) : Server.Point2D
return Server.Point2D
		public static Point2D GetRandomLocation()
		{
			if ( m_Locations == null )
				LoadLocations();

			if ( m_Locations.Length > 0 )
				return m_Locations[Utility.Random( m_Locations.Length )];

			return Point2D.Zero;
		}