public static GetRandomHavenLocation ( ) : Server.Point2D | ||
Результат | Server.Point2D |
public static Point2D GetRandomHavenLocation()
{
if ( m_HavenLocations == null )
LoadLocations();
if ( m_HavenLocations.Length > 0 )
return m_HavenLocations[Utility.Random( m_HavenLocations.Length )];
return Point2D.Zero;
}