Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (FroggerGame = new FroggerGame())
     {
         FroggerGame.Run();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (FroggerGame game = new FroggerGame())
     {
         game.Run();
     }
 }
Ejemplo n.º 3
0
        //MediaPlayer LevelMusic;

        public MainPage()
        {
            this.InitializeComponent();
            Frogger = new FroggerGame();
            Window.Current.CoreWindow.KeyDown += Canvas_KeyDown;
            Window.Current.CoreWindow.KeyUp   += Canvas_KeyUp;
        }
Ejemplo n.º 4
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var g = new FroggerGame();

            SetContentView((View)g.Services.GetService(typeof(View)));
            g.Run();
        }
Ejemplo n.º 5
0
        public MeadowApp()
        {
            frogger = new FroggerGame(cellSize);

            Initialize();

            DrawTitleMenu();

            StartGame();
        }