public GamePage(LaunchActivatedEventArgs args) { this.InitializeComponent(); // Create the game. CCApplication.Create(new AppDelegate(), args, Window.Current.CoreWindow, this); }
public GamePage(LaunchActivatedEventArgs args) { this.InitializeComponent(); DisplayInformation.AutoRotationPreferences = DisplayOrientations.Landscape; CCApplication.Create(new GameDelegate(), args, Window.Current.CoreWindow, this); }
// Constructor public GamePage() { InitializeComponent(); CCApplication.Create(new AppDelegate(), "", this); // Sample code to localize the ApplicationBar //BuildLocalizedApplicationBar(); }
static void Main() { CCApplication.Create(new AppDelegate()); }
static void Main() { CCApplication.Create(new GoneBananasApplicationDelegate()); }