public void SetYellow() { this.State = LightState.Yellow; }
public void SetRed() { this.State = LightState.Red; }
public void SetGreen() { this.State = LightState.Green; }
public Light(LightState state) { this.State = state; }
public Light() { lightState = new LightOn(); }
public AbstratcLight(LightState state) { this.State = state; }