idTech4.UI.idChoiceWindow.ValidateChoice C# (CSharp) Méthode

ValidateChoice() private méthode

private ValidateChoice ( ) : void
Résultat void
		private void ValidateChoice()
		{
			if((_currentChoice < 0) || (_currentChoice >= _choices.Count))
			{
				_currentChoice = 0;
			}

			if(_choices.Count == 0)
			{
				_choices.Add("No Choices Defined");
			}
		}
		#endregion