Exemple #1
0
 public void Unregister(BackwardClockManager clock)
 {
     clock.Finished -= SwimmingMessage;
 }
 /// <summary>
 /// Method to unregister from event listener
 /// </summary>
 public void Unregister(BackwardClockManager clock)
 {
     clock.Finished -= RunnerMessage;
 }
Exemple #3
0
 /// <summary>
 /// Constructor for creating new instance of class with event manager inside
 /// </summary>
 public SwimmerTrainer(BackwardClockManager clock)
 {
     clock.Finished += SwimmingMessage;
 }
 /// <summary>
 /// Constructor for creating new instance of class with event manager inside
 /// </summary>
 public RunnerTrainer(BackwardClockManager clock)
 {
     clock.Finished += RunnerMessage;
 }