/// <summary> /// Create a new Creature object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="initiative">Initial value of the Initiative property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="index">Initial value of the Index property.</param> /// <param name="currentHP">Initial value of the CurrentHP property.</param> /// <param name="tempHP">Initial value of the TempHP property.</param> /// <param name="maxHP">Initial value of the MaxHP property.</param> /// <param name="armorClass">Initial value of the ArmorClass property.</param> /// <param name="reflex">Initial value of the Reflex property.</param> /// <param name="fortitude">Initial value of the Fortitude property.</param> /// <param name="will">Initial value of the Will property.</param> /// <param name="speed">Initial value of the Speed property.</param> /// <param name="encounter_Creature">Initial value of the Encounter_Creature property.</param> public static Creature CreateCreature(global::System.Int32 id, global::System.Int32 initiative, global::System.String name, global::System.Int32 index, global::System.Int32 currentHP, global::System.Int32 tempHP, global::System.Int32 maxHP, global::System.String armorClass, global::System.String reflex, global::System.String fortitude, global::System.String will, global::System.Int32 speed, global::System.Int32 encounter_Creature) { Creature creature = new Creature(); creature.Id = id; creature.Initiative = initiative; creature.Name = name; creature.Index = index; creature.CurrentHP = currentHP; creature.TempHP = tempHP; creature.MaxHP = maxHP; creature.ArmorClass = armorClass; creature.Reflex = reflex; creature.Fortitude = fortitude; creature.Will = will; creature.Speed = speed; creature.Encounter_Creature = encounter_Creature; return creature; }
/// <summary> /// Deprecated Method for adding a new object to the Creatures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCreatures(Creature creature) { base.AddObject("Creatures", creature); }