public RaceDialogContainerSubScene() : base(Definitions.Back_Buffer_Width, Definitions.Back_Buffer_Height) { _quitRaceDialog = new QuitRaceDialog(); RegisterGameObject(_quitRaceDialog); _controllerDialog = new ControllerUnpluggedDialog(); RegisterGameObject(_controllerDialog); _motionController = new MotionController(); _motionController.AddMobileObject(_quitRaceDialog); _motionController.AddMobileObject(_controllerDialog); }
public SurvivalSubScene() : base(Definitions.Back_Buffer_Width, Definitions.Back_Buffer_Height) { StatusDisplay = new SurvivalDataDisplay(); _readyPopup = new PopupRequiringDismissal(); _pauseDialog = new PauseDialog(); _controllerDialog = new ControllerUnpluggedDialog(); _tutorialRunner = new TutorialRunner(); _pauseDialog.ExitCallback = HandleDialogClose; _controllerDialog.ExitCallback = HandleDialogClose; _playerEventPopup.AnimationCompletionHandler = HandlePlayerEventAnimationComplete; }