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