コード例 #1
0
 static void Main()
 {
     using (var game = new main())
         game.Run();
 }
コード例 #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
        }
コード例 #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;
        }