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