예제 #1
0
 public void RestoreFromPrevtrTD(trTDs oPrevtrTDs)
 {
     TimeInSeconds = oPrevtrTDs.TimeInSeconds;
     AwayPoints    = 0; // Zeros - dont want to count Points Twice
     HomePoints    = 0;
     AwayScore     = oPrevtrTDs.AwayScore;
     HomeScore     = oPrevtrTDs.HomeScore;
 }
예제 #2
0
        public void Init(ref trTDs oPrevtrTDs)
        {
            oPrevtrTDs.TimeInSeconds = TimeInSeconds;
            oPrevtrTDs.AwayPoints    = AwayPoints;
            oPrevtrTDs.HomePoints    = HomePoints;
            oPrevtrTDs.AwayScore     = AwayScore;
            oPrevtrTDs.HomeScore     = HomeScore;

            TimeInSeconds = 0;
            AwayPoints    = 0;
            HomePoints    = 0;
            AwayScore     = 0;
            HomeScore     = 0;
        }