GamePage.WP8.xaml.cs 596 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Navigation;
  8. using Microsoft.Phone.Controls;
  9. using Microsoft.Phone.Shell;
  10. using Microsoft.Xna.Framework;
  11. using MonoGame.Framework.WindowsPhone;
  12. namespace Samples.Animation
  13. {
  14. public partial class GamePage : PhoneApplicationPage
  15. {
  16. private Game1 _game;
  17. // Constructor
  18. public GamePage()
  19. {
  20. InitializeComponent();
  21. _game = XamlGame<Game1>.Create("", this);
  22. }
  23. }
  24. }