public MainPage() { this.InitializeComponent(); // Create game object Game test = new Game(); }
public GamePage() { this.InitializeComponent(); preloadImages(); game = new Game(); animating = false; initializeTimer(); UpdateGrid(); timer.Start(); this.NavigationCacheMode = NavigationCacheMode.Required; }