Exemple #1
0
        public Program()
        {
            Game1 game = new Game1();
            thisGame = game;

            game.Run();

            /*
            using (var game = new Game1())
                game.Run();
             */
        }
Exemple #2
0
 public abstract void Initialize(Game1 game);
Exemple #3
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }
Exemple #4
0
 public StateMachine(Game1 thisGame)
 {
     Game = thisGame;
 }