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