public FleetDeployer(IShipGenerator shipGenerator, IRandomDataProvider randomDataProvider) { ShipGenerator = shipGenerator; RandomDataProvider = randomDataProvider; }
public ShipGeneratorTests() { _shipGenerator = new ShipGenerator(); }
public SeaBattleGame(IShipGenerator randomShipGenerator, IShipPlacer shipPlacer) { this.randomShipGenerator = randomShipGenerator; this.shipPlacer = shipPlacer; ResetGrid(); }
public ShipsOnBoardGenerator(IShipGenerator shipGenerator, IInputValidator inputValidator) { _shipGenerator = shipGenerator; _inputValidator = inputValidator; }