public BoatSimulatorController(IBoatSimulatorDatabase database, IRace currentRace) { this.Database = database; this.CurrentRace = currentRace; this.JetEngineFactory = new JetEngineFactory(); this.SterndriveEngineFactory = new SterndriveEngineFactory(); }
public BoatSimulatorController(IBoatSimulatorDatabase database, IRace currentRace = null) { this.Database = database; this.CurrentRace = currentRace; }
public BoatSimulatorController(IBoatSimulatorDatabase database, IRace currentRace) { this.Database = database; this.CurrentRace = currentRace; this.engineFactory = new EngineFactory(); }