Exemplo n.º 1
0
 static void Main()
 {
     using (var game = new main())
         game.Run();
 }
Exemplo n.º 2
0
        SpriteFont Font;                                                                                                //declare the font

        public GameOver(main mainPointer)                                                                               //passing parameters points and game
        {
            main = mainPointer;                                                                                         //instantiating that this.game is the game from this class
        }
Exemplo n.º 3
0
        main main;                                                                                                  //a reference to the class main


        public MainMenuScreen(main mainPointer)                                                                     //passing a parameter that contains the information
                                                                                                                    //from main class
        {
            main = mainPointer;
        }