private void HandleDirectionKey()
{
if (_mShowCongrats)
{ return; }
//Down Button
if (_mControls.IsDownPressed(false))
{
_number = _rand.Next(4);
if (_mCurrentWorld < NumOfWorlds - 1)
_mCurrentWorld++;
if (GameSound.Volume != 0)
GameSound.MenuSoundRollover.Play();
}
//Up Button
if (_mControls.IsUpPressed(false))
{
_number = _rand.Next(4);
if (_mCurrentWorld > 0)
_mCurrentWorld--;
if (GameSound.Volume != 0)
GameSound.MenuSoundRollover.Play();
}
//Left Pressed
if (_mControls.IsLeftPressed(false))
{
_number = _rand.Next(4);
if (_mCurrentIndex > 0)
_mCurrentIndex--;
if (GameSound.Volume != 0)
GameSound.MenuSoundRollover.Play();
}
//Right Pressed
if (_mControls.IsRightPressed(false))
{
_number = _rand.Next(4);
if (_mCurrentIndex < 5)
_mCurrentIndex++;
if (GameSound.Volume != 0)
GameSound.MenuSoundRollover.Play();
}
if (_mCurrentWorld == 8) _mCurrentIndex = 0;
}