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

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

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

            Initialize();

            DrawTitleMenu();

            StartGame();
        }