Beispiel #1
0
 public Phase(int interval, EventHandler end_of_phase_action)
 {
     this.phaseTime        = new PhaseTime(interval);
     phaseTime.timer.Tick += end_of_phase_action;
 }
Beispiel #2
0
 /// <summary>
 /// Constructs an instance of a phase
 /// </summary>
 /// <param name="interval">Duration of the phase in ms</param>
 public Phase(int interval)
 {
     this.phaseTime = new PhaseTime(interval);
 }