예제 #1
0
파일: Game.cs 프로젝트: outfrost/deckswipe
 public void CardActionPerformed()
 {
     progressStorage.Progress.AddDays(Random.Range(0.5f, 1.5f),
                                      daysPassedPreviously);
     ProgressDisplay.SetDaysSurvived(
         (int)(progressStorage.Progress.daysPassed - daysPassedPreviously));
     DrawNextCard();
 }
예제 #2
0
파일: Game.cs 프로젝트: outfrost/deckswipe
 private void StartGameplayLoop()
 {
     Stats.ResetStats();
     ProgressDisplay.SetDaysSurvived(0);
     DrawNextCard();
 }