Example #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Example #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     String map = args.Length == 0 ? null : args[0];
     using (Game1 game = new Game1(map))
     {
         game.Run();
     }
 }
Example #3
0
 public override void UpdateGame(Game1 game)
 {
     base.UpdateGame(game);
     if (!finishing && alpha >= 300)
     {
         finishing = true;
         game.LoadMap(map);
     }
 }
Example #4
0
 public override void UpdateGame(Game1 game)
 {
     game.WorldScale = Game1.Lerp(game.WorldScale, 0.3f, 0.7f);
 }
Example #5
0
 public virtual void UpdateGame(Game1 game)
 {
 }