/// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Exemple #2
0
 public City(Game1 game, Texture2D texture)
 {
     this.game = game;
     this.texture = texture;
     LoadFloorPlan();
     SetUpVertices();
     SetUpBoundingBoxes();
     AddTargets();
 }
Exemple #3
0
 static void Main()
 {
     using (var game = new Game1())
         game.Run();
 }
Exemple #4
0
 public SkyBox(Game1 game, Model model, Texture2D[] textures)
 {
     this.game = game;
     this.model = model;
     this.textures = textures;
 }
Exemple #5
0
 public SkyBox(Game1 game, Model model, Texture2D texture)
 {
     this.game = game;
     this.model = model;
     this.textures = SplitTexture(texture);
 }