Exemple #1
0
        public MainPage()
        {
            this.InitializeComponent();

            // Create game object
            Game test = new Game();
        }
Exemple #2
0
        public GamePage()
        {
            this.InitializeComponent();
            preloadImages();

            game = new Game();
            animating = false;

            initializeTimer();

            UpdateGrid();
            timer.Start();

            this.NavigationCacheMode = NavigationCacheMode.Required;
        }