Ejemplo n.º 1
0
 public Phase(int interval, EventHandler end_of_phase_action)
 {
     this.phaseTime        = new PhaseTime(interval);
     phaseTime.timer.Tick += end_of_phase_action;
 }
Ejemplo n.º 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);
 }