Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (TowerAssault game = new TowerAssault())
     {
         game.Run();
     }
 }
Exemple #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (TowerAssault game = new TowerAssault())
     {
         game.Run();
     }
 }
Exemple #3
0
 internal TowerAssault()
 {
     wiggles = this;
     Graphics = new GraphicsDeviceManager(GameInstance);
     Content.RootDirectory = "Content";
     Settings = new GameSettings();
     MenuScreen.Fontname = "Fonts/menufont";
     SoundManager.Manager.SetContentManager(Content);
     Settings = GameSettings.LoadSettings();
     Camera = new Camera(
         this,
         new Vector3(750, 750, 2500),
         Vector3.Zero,
         Vector3.Up);
 }