Exemple #1
0
        public Game1()
            : base()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            // pretty ugly..
            instance = this;
        }
Exemple #2
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }