/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
/// <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(); } }
public override void UpdateGame(Game1 game) { base.UpdateGame(game); if (!finishing && alpha >= 300) { finishing = true; game.LoadMap(map); } }
public override void UpdateGame(Game1 game) { game.WorldScale = Game1.Lerp(game.WorldScale, 0.3f, 0.7f); }
public virtual void UpdateGame(Game1 game) { }