예제 #1
0
 void WrongChoice(Butterfly b)
 {
     soundBank.PlayCue("73581__benboncan__sad-trombone");
     spriteQueue.Add(new Tuple<Vector3,int>(b.getPosition(), 1));
     queueTimers.Add(30);
     scoreStrings.Add("x 0");
     b.Hide();
     mistakeCount++;
 }
예제 #2
0
 void RightChoice(Butterfly b)
 {
     spriteQueue.Add(new Tuple<Vector3, int>(b.getPosition(), 0));
     queueTimers.Add(30);
     soundBank.PlayCue("145459__soughtaftersounds__menu-click-sparkle");
     int score = playerProfile.Score;
     score += Math.Max(1, tier);
     playerProfile.Score = score;
     scoreStrings.Add(String.Format("x {0}", Math.Max(1, tier)));
     b.Hide();
 }