private IClockSystem klok; //Zou weggelaten kunnen worden gezien deze nu enkel in de constructor gebruikt wordt public ClockDisplay(int id, IClockSystem klok) { this.id = id; this.klok = klok; this.klok.RegisterObserver(this); }
public ClockController(IClockSystem clockSystem) { this.clockSystem = clockSystem; }