public static void PlaySportsAggressiveScenario() { TimeHelper.PlayMessage("\n\nLet's add third aggressive mode now! Observe the explosions from the exhaust when reducing!\n", 3); var eventBus = new EventBusThatYouDontWantToUseInProduction(); SetupSystem(eventBus); var cabinService = new CabinService(eventBus); cabinService.SetDriveMode(); TimeHelper.WaitSeconds(4); cabinService.SetResponsivenessMode(ResponsivenessMode.Sport); cabinService.SetAggressivenessLevel(AggressivenessLevel.Third); TimeHelper.WaitSeconds(4); DoCommonPedalOperations(cabinService); eventBus.Kill(); }
public static void PlayKickdownScenario() { TimeHelper.PlayMessage("\n\nTime for kickdown! The car will enter 5000 RPM. Then the driver will add more gas.", 3); TimeHelper.PlayMessage("At that point the car should drop 2 gears. The driver will reduce gas and the gears will upshift back.\n", 3); var eventBus = new EventBusThatYouDontWantToUseInProduction(); SetupSystem(eventBus); var cabinService = new CabinService(eventBus); cabinService.SetDriveMode(); TimeHelper.WaitSeconds(4); cabinService.SetResponsivenessMode(ResponsivenessMode.Sport); cabinService.SetAggressivenessLevel(AggressivenessLevel.Third); TimeHelper.WaitSeconds(4); DoAggressivePedalChangesToCauseKickdown(cabinService); eventBus.Kill(); }