/// <summary> /// Create a new Champion object. /// </summary> /// <param name="championID">Initial value of the ChampionID property.</param> /// <param name="championName">Initial value of the ChampionName property.</param> /// <param name="initialStr">Initial value of the initialStr property.</param> /// <param name="initialAgi">Initial value of the initialAgi property.</param> /// <param name="initialint">Initial value of the initialint property.</param> /// <param name="strGrowth">Initial value of the strGrowth property.</param> /// <param name="agiGrowth">Initial value of the agiGrowth property.</param> /// <param name="intGrowth">Initial value of the intGrowth property.</param> /// <param name="movSpeed">Initial value of the movSpeed property.</param> /// <param name="armor">Initial value of the armor property.</param> /// <param name="range">Initial value of the range property.</param> public static Champion CreateChampion(global::System.Int32 championID, global::System.String championName, global::System.Double initialStr, global::System.Double initialAgi, global::System.Double initialint, global::System.Double strGrowth, global::System.Double agiGrowth, global::System.Double intGrowth, global::System.Double movSpeed, global::System.Double armor, global::System.Double range) { Champion champion = new Champion(); champion.ChampionID = championID; champion.ChampionName = championName; champion.initialStr = initialStr; champion.initialAgi = initialAgi; champion.initialint = initialint; champion.strGrowth = strGrowth; champion.agiGrowth = agiGrowth; champion.intGrowth = intGrowth; champion.movSpeed = movSpeed; champion.armor = armor; champion.range = range; return champion; }
/// <summary> /// Deprecated Method for adding a new object to the Champions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChampions(Champion champion) { base.AddObject("Champions", champion); }