public HomeCinema(int id, Tv tv, Loudspeakers loudspeakers) : base(id) { Tv = tv; Loudspeakers = loudspeakers; }
public virtual void StopRecording() { Tv.StopRecording(); }
public override void Off() { base.Off(); Tv.Off(); Loudspeakers.Off(); }
public virtual void StartRecording() { Tv.StartRecording(); }
public void MuteOff() { Tv.MuteOff(); Loudspeakers.MuteOff(); }
public void DecreaseVolume() { Tv.DecreaseVolume(); Loudspeakers.DecreaseVolume(); }
public virtual void AddVolume() { Tv.AddVolume(); Loudspeakers.AddVolume(); }