/// <summary> /// Only for example. Its bad idea - we need constructor with such parameter /// </summary> public Car() { Stereo = new Stereo(); Engine = new Engine(); Transmission = new Transmission(); RocketBarrage = new RocketBarrage(); }
public StartEngine(Engine engine) { _engine = engine; }