예제 #1
0
        public GamePage(LaunchActivatedEventArgs args)
        {
            this.InitializeComponent();

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

            DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape;

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

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

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