public Engine(Iwriter consoleWriter, IReader consoleReader) { this.soldiers = new List <ISoldier>(); this.privates = new List <IPrivate>(); this.writer = consoleWriter; this.reader = consoleReader; }
public Engine(Smartphone smartphone, StationaryPhone stationaryPhone, Iwriter consoleWriter, IReader consoleReader) { this.smartphone = smartphone; this.stationaryPhone = stationaryPhone; this.writer = consoleWriter; this.reader = consoleReader; }