static void Main(string[] args) { SimpleExample.Run(); BasicCar.Run(); ElectricCar.Run(); }
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(); }