示例#1
0
        static void Main(string[] args)
        {
            Simulation simulation = new Simulation();

            simulation.RunSimulation();
            Console.ReadLine();
        }
示例#2
0
        static void Main(string[] args)
        {
            Simulation simulation;

            simulation = new Simulation();
            simulation.RunSimulation();
        }
示例#3
0
        static void Main(string[] args)
        {
            //SodaMachineA soda = new SodaMachineA();
            //Wallet wallet = new Wallet();
            //Customer customer = new Customer();
            //customer.GetWalletBalance();

            Simulation simulation = new Simulation();

            simulation.RunSimulation();
        }
示例#4
0
        static void Main(string[] args)
        {
            GrapeSoda  grape      = new GrapeSoda();
            OrangeSoda orangeSoda = new OrangeSoda();
            LemonSoda  lemonSoda  = new LemonSoda();
            //Customer customer = new Customer();
            //CanSodaMachine canSodaMachine = new CanSodaMachine();
            //customer.DisplayUserAvailibleMoney();
            //canSodaMachine.DisplayCurrentInventoryWithPrice(grape, orangeSoda, lemonSoda);
            //Console.ReadLine();
            Simulation simulation = new Simulation();

            simulation.RunSimulation(grape, orangeSoda, lemonSoda);
        }