示例#1
0
文件: Program.cs 项目: sholev/SoftUni
 public static void Main()
 {
     var boatSimulatorDatabase = new BoatSimulatorDatabase();
     var boatSimulatorController = new BoatSimulatorController(boatSimulatorDatabase);
     var commandHandler = new CommandHandler(boatSimulatorController);
     var engine = new Engine(commandHandler);
     engine.Run();
 }
 public static void Main()
 {
     var engine = new Engine();
     engine.Run();
 }