コード例 #1
0
 private void PublishDirectorStats()
 {
     if (!(OnNewStats == null))
     {
         DirectorStatEventArgs tempArgs = new DirectorStatEventArgs(var_Current_Score, var_Game_Time_Remaining);
         OnNewStats(tempArgs);
     }
 }
コード例 #2
0
 public void UpdateStatsDirector(DirectorStatEventArgs e)
 {
     var_Current_Score = e.Score;
     var_Current_Time_Remaining = e.TimeRemaining;
 }