Example #1
0
 internal void Check()
 {
     if (scoreManager.GetScore() >= scoreManager.GetNextScore())
     {
         if (scoreManager.NextLevel())
         {
             effectGenerator.GenerateEffect();
             if (scoreManager.IsClear())
             {
                 sePlayer.SoundClearSE();
             }
             else
             {
                 sePlayer.SoundLevelUpSE();
                 templeSpriteChanger.ChangeTempleSprite(scoreManager.GetLevel());
             }
         }
     }
 }