/// <summary> /// Create a new BasicTower object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="damage">Initial value of the Damage property.</param> /// <param name="reload">Initial value of the Reload property.</param> /// <param name="range">Initial value of the Range property.</param> /// <param name="effectId">Initial value of the EffectId property.</param> /// <param name="priceNextLevel">Initial value of the PriceNextLevel property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="sell">Initial value of the Sell property.</param> /// <param name="model">Initial value of the Model property.</param> /// <param name="texture">Initial value of the Texture property.</param> /// <param name="shotModel">Initial value of the ShotModel property.</param> /// <param name="shotTexture">Initial value of the ShotTexture property.</param> /// <param name="lvl">Initial value of the Lvl property.</param> /// <param name="points">Initial value of the Points property.</param> public static BasicTower CreateBasicTower(global::System.Int32 id, global::System.String name, global::System.Int32 damage, global::System.Double reload, global::System.Double range, global::System.Int32 effectId, global::System.Int32 priceNextLevel, global::System.Int32 price, global::System.Int32 sell, global::System.String model, global::System.String texture, global::System.String shotModel, global::System.String shotTexture, global::System.Int32 lvl, global::System.Int32 points) { BasicTower basicTower = new BasicTower(); basicTower.Id = id; basicTower.Name = name; basicTower.Damage = damage; basicTower.Reload = reload; basicTower.Range = range; basicTower.EffectId = effectId; basicTower.PriceNextLevel = priceNextLevel; basicTower.Price = price; basicTower.Sell = sell; basicTower.Model = model; basicTower.Texture = texture; basicTower.ShotModel = shotModel; basicTower.ShotTexture = shotTexture; basicTower.Lvl = lvl; basicTower.Points = points; return basicTower; }
/// <summary> /// Deprecated Method for adding a new object to the BasicTowers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBasicTowers(BasicTower basicTower) { base.AddObject("BasicTowers", basicTower); }