Example #1
0
        private void Render(ResultData result)
        {
            var playerIndex = result.CorrectPlayerIndex;
            var player      = PlayerEntity.PlayerList[playerIndex];

            StageResultRenderer.Render(player.NickName, playerIndex, result.IsCorrect);

            // リストに追加する
            foreach (var stageResultListRenderer in StageResultListRendererList)
            {
                stageResultListRenderer.Render(result.Time, result.StageCount);
            }

            // 答えを表示する
            AnswerRenderer.Render(StageEntity.Answer, false);

            // Timelineを再生する
            StageResultTimelineRenderer.Play(result.IsCorrect);

            if (result.IsCorrect)
            {
                EffectCrackerRenderer.Play();
                InfoEntity.Set(Setting.CorrectInfoList.Random());
            }
            else
            {
                InfoEntity.Set(Setting.TimeoutInfoList.Random());
            }
        }
Example #2
0
 private void Render()
 => EffectCrackerRenderer.Play();