Exemple #1
0
        static void Main(string[] args)
        {
            SimpleExample.Run();

            BasicCar.Run();

            ElectricCar.Run();
        }
Exemple #2
0
        public static void Run()
        {
            var world2 = new World {
                SimEndCondition = w => w.CurrentTime == 15
            };
            var basicCar = new BasicCar();

            world2.Process(basicCar.Process(world2));
            world2.Run();
            Console.WriteLine("Done");
            Console.ReadLine();
        }