예제 #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
예제 #2
0
파일: Nemo.cs 프로젝트: iflammel/Monsters
        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;
        }