Esempio n. 1
0
        public GamePage(LaunchActivatedEventArgs args)
        {
            this.InitializeComponent();

            // Create the game.
            CCApplication.Create(new AppDelegate(), args, Window.Current.CoreWindow, this);
        }
Esempio n. 2
0
        public GamePage(LaunchActivatedEventArgs args)
        {
            this.InitializeComponent();

            DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape;

            CCApplication.Create(new GameDelegate(), args, Window.Current.CoreWindow, this);
        }
Esempio n. 3
0
        // Constructor
        public GamePage()
        {
            InitializeComponent();

            CCApplication.Create(new AppDelegate(), "", this);

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
Esempio n. 4
0
 static void Main()
 {
     CCApplication.Create(new AppDelegate());
 }
Esempio n. 5
0
 static void Main()
 {
     CCApplication.Create(new GoneBananasApplicationDelegate());
 }