Esempio n. 1
0
 /// <summary>
 /// トータルスコア更新
 /// </summary>
 /// <param name="playData">プレイデータのインスタンス</param>
 void UpdateTotalScore(PlayData playData)
 {
     playData.TotalScore += NowBreakNum;
     if (playData.TotalScore > PlayData.TotalScoreCountStopValue)
     {
         playData.TotalScore = PlayData.TotalScoreCountStopValue;
     }
     GameServiceUtil.ReportScore(playData.TotalScore, 1);
 }
Esempio n. 2
0
 /// <summary>
 /// ハイスコア更新
 /// </summary>
 /// <param name="playData">プレイデータのインスタンス</param>
 void UpdateHighScore(PlayData playData)
 {
     if (playData.HighScore < NowBreakNum)
     {
         playData.HighScore = NowBreakNum;
         GameServiceUtil.ReportScore(playData.HighScore, 0);
     }
     playData.LastScore = NowBreakNum;
 }