Beispiel #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Beispiel #2
0
        public Nemo(Rectangle rect, Texture2D idle, Texture2D run, Texture2D creep, Texture2D creep_idle, Game1 game)
        {
            this.rect = rect;
            this.idle = idle;
            this.creep = creep;
            this.run = run;
            this.creep_idle = creep_idle;
            this.game = game;

            frameWidth = frameHeight = creep.Height;
        }