public AttractMode() { _log.Info("Attract Mode Started"); DisplayManager.PlaySequence(DisplayConstants.Modes.AttractMode.ATTRACT); //send high scores DisplayManager.OnAnimationCompleted += new DisplayEventHandler(DisplayManager_OnAnimationCompleted); SwitchManager.RegisterSwitchHandler(handleSwitchChanges); SwitchManager.Reset(); }
public NormalPlayMode() { _log.Info("Normal Play Mode Started"); _instance.ResetForNewPlayer(); DisplayManager.OnAnimationCompleted += new DisplayEventHandler(DisplayManager_OnAnimationCompleted); SwitchManager.RegisterSwitchHandler(handleSwitchChanges); }
public TrophyRoomMode() { _log.Info("Trophy Room Mode Started"); DisplayManager.OnAnimationCompleted += new DisplayEventHandler(DisplayManager_OnAnimationCompleted); SwitchManager.RegisterSwitchHandler(handleSwitchChanges); //Rotate Playfield to CenterScoop position SwitchManager.RotateStage(SwitchConstants.StagePositions.TrophyScoop); SwitchManager.RotateCross(false); //Play "Collect Trophy" instructional video DisplayManager.PlayCutScene(DisplayConstants.CutScenes.ActiveGameMode.COLLECTTROPHY); LightManager.PlaySequence(LightingConstants.Lfx.CollectTrophySlow); _collectBonusTimer = new Timer(new TimerCallback(collectBonusTimerHandler), null, 1000, 1000); //ticks every second _timeStarted = new System.Diagnostics.Stopwatch(); _timeStarted.Start(); }
public TestMode() { //DisplayManager.PlaySequence(DisplayConstants.ATTRACT); //send high scores SwitchManager.RegisterSwitchHandler(handleSwitchChanges); }