Exemplo n.º 1
0
 /// <summary>
 /// Set time as given time
 /// </summary>
 /// <param name="rhs">Reference time</param>
 public void Set(GameLogicTime rhs)
 {
     elapsedUnits = rhs.elapsedUnits;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add time interval
 /// </summary>
 /// <param name="rhs">Adding interval of time</param>
 public void AddTime(GameLogicTime rhs)
 {
     elapsedUnits += rhs.elapsedUnits;
 }