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