Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (ImmortalsEngine game = new ImmortalsEngine())
     {
         game.Run();
     }
 }
Exemple #2
0
 /// <summary>Constructor.</summary>
 /// <param name="game">The top-level game object.</param>
 public GameView(ImmortalsEngine game)
     : base(game)
 {
     // store and/or initialize all data and pointers
     this.engine = game;
 }