Example #1
0
 //EndGame
 private void endGame()
 {
     if (totalFollowers > winningFollowers)
     {
         if (totalCultist > Mathf.Max(totalMoms, Mathf.Max(totalStans, totalTheorists)))
         {
             bc.CultistWin();
         }
         else if (totalMoms > Mathf.Max(totalCultist, Mathf.Max(totalStans, totalTheorists)))
         {
             bc.MomsWin();
         }
         else if (totalTheorists > Mathf.Max(totalMoms, Mathf.Max(totalStans, totalCultist)))
         {
             bc.TheoristWin();
         }
         else if (totalStans > Mathf.Max(totalMoms, Mathf.Max(totalCultist, totalTheorists)))
         {
             bc.StanWin();
         }
     }
     else
     {
         bc.LoseGame();
     }
 }