Пример #1
0
        public override void Initialize()
        {
            BackDialog backDialog = new BackDialog();

            backDialog.SelectionCallback = HandleBackDialogDismiss;

            Dialog = backDialog;

            base.Initialize();

            CreateContent(Credits_Content_Elements_File);
        }
Пример #2
0
        public override void Initialize()
        {
            base.Initialize();

            _backDialog = new BackDialog();
            _backDialog.InputSources      = _inputProcessors;
            _backDialog.SelectionCallback = HandleBackDialogDismiss;

            _motionController.AddMobileObject(_backDialog);

            RegisterGameObject(_backDialog);

            CreateContent(_contentFileName);
        }