Server.Mobiles.SeekerOfAdventure.GetRandomHue C# (CSharp) Méthode

GetRandomHue() private static méthode

private static GetRandomHue ( ) : int
Résultat int
		private static int GetRandomHue()
		{
			switch ( Utility.Random( 6 ) )
			{
				default:
				case 0: return 0;
				case 1: return Utility.RandomBlueHue();
				case 2: return Utility.RandomGreenHue();
				case 3: return Utility.RandomRedHue();
				case 4: return Utility.RandomYellowHue();
				case 5: return Utility.RandomNeutralHue();
			}
		}