idTech4.UI.idChoiceWindow.ValidateChoice C# (CSharp) Method

ValidateChoice() private method

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

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