public Clock(IClockStateFactory clockStateFactory, IAnd and, IOr or) { _and = and; _or = or; _clk = clockStateFactory.Create(); _clkD = clockStateFactory.Create(); ClkE = false; ClkS = false; }
// internal method for the State changing internal void SetState(IClockState cs) { _state = cs; }