public void Unregister(BackwardClockManager clock) { clock.Finished -= SwimmingMessage; }
/// <summary> /// Method to unregister from event listener /// </summary> public void Unregister(BackwardClockManager clock) { clock.Finished -= RunnerMessage; }
/// <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; }