Example #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            //this means i could decide to not even override but instead go directly to another class to do the work.  that is very good to know.
            IStartUp starts = new SinglePlayerStartUpClass();

            MainWindow = new NewWindow(starts, false); //hopefully that is it this time.
        }
Example #2
0
        public App(IGamePlatform platform, IForceOrientation forces, IScreen screen)
        {
            IStartUp starts = new SinglePlayerStartUpClass();

            MainPage = new NavigationPage(new StartPage(platform, starts, forces, screen, false));
        }