- The Chase is now un-broken.
- Lightning Round now works just like The Chase. We'll see how that works out.
This commit is contained in:
parent
cc7a4cd299
commit
4def129b09
@ -415,9 +415,17 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
EnableInteraction("First Question");
|
EnableInteraction("First Question");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void NewLightningRoundQuestion(int Question)
|
private void LightningRoundCluesLoop()
|
||||||
{
|
{
|
||||||
DataDictionary CurrentQuestion = _CurrentQuestion["Questions"].DataList[Question - 1].DataDictionary;
|
DataList QuestionsList = _CurrentQuestion["Questions"].DataList;
|
||||||
|
if (_QuestionSubstage >= QuestionsList.Count)
|
||||||
|
{
|
||||||
|
_QuestionSubstage = 0;
|
||||||
|
EnableInteraction("End Lightning Round");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
DataDictionary CurrentQuestion = _CurrentQuestion["Questions"].DataList[_QuestionSubstage].DataDictionary;
|
||||||
|
|
||||||
HostCardLightningRoundInterface Interface =
|
HostCardLightningRoundInterface Interface =
|
||||||
(HostCardLightningRoundInterface)GetHostCardInterface(RoundSegmentType.LightningRound);
|
(HostCardLightningRoundInterface)GetHostCardInterface(RoundSegmentType.LightningRound);
|
||||||
@ -463,7 +471,9 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
EndBuzzInPeriod();
|
EndBuzzInPeriod();
|
||||||
EnableInteraction("Next Question");
|
|
||||||
|
_QuestionSubstage++;
|
||||||
|
AdvanceQuestion();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1296,23 +1306,23 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
{
|
{
|
||||||
switch (_QuestionStage)
|
switch (_QuestionStage)
|
||||||
{
|
{
|
||||||
case 1: BeginLightningRound(); break;
|
case 1: BeginLightningRound(); break;
|
||||||
case 2: NewLightningRoundQuestion(1); break;
|
case 2: LightningRoundCluesLoop(); break;
|
||||||
case 3: NewLightningRoundQuestion(2); break;
|
case 3: AdvanceToNextQuestion(); break;
|
||||||
case 4: NewLightningRoundQuestion(3); break;
|
|
||||||
case 5: AdvanceToNextQuestion(); break;
|
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AdvanceTheChase()
|
private void AdvanceTheChase()
|
||||||
{
|
{
|
||||||
|
Debug.Log("The Chase is now advancing to stage " + _QuestionStage);
|
||||||
|
|
||||||
switch (_QuestionStage)
|
switch (_QuestionStage)
|
||||||
{
|
{
|
||||||
case 1: BeginTheChase(); break;
|
case 1: BeginTheChase(); break;
|
||||||
case 2: PlayTheChaseMusic(); break;
|
case 2: PlayTheChaseMusic(); break;
|
||||||
case 3: TheChaseCluesLoop(); break;
|
case 3: TheChaseCluesLoop(); break;
|
||||||
case 8: AdvanceToNextQuestion(); break;
|
case 4: AdvanceToNextQuestion(); break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user