예제 #1
0
    public void UpdateGameScore(object sender, System.EventArgs e)
    {
        GameScoreArgs arg = (GameScoreArgs)e;

        currentGameScore += arg.scoreToAdd;
        gameScoreUI.UpdateGameScore(currentGameScore);
    }
예제 #2
0
 public static void AddGameScore(object sender, GameScoreArgs eventArgs)
 {
     OnAddGameScore(sender, eventArgs);
 }