Ejemplo n.º 1
0
 /// <summary>
 /// Updates the <see cref="OldTrainingTime"/> statistic.
 /// </summary>
 /// <param name="scratchpad"></param>
 internal void UpdateOldTrainingTime(BaseCharacter character)
 {
     m_oldTrainingTime = character.GetTrainingTime(m_skill, m_level);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor from an enumeration.
 /// </summary>
 /// <param name="character"></param>
 /// <param name="entries"></param>
 public PlanScratchpad(BaseCharacter character, IEnumerable <PlanEntry> entries)
     : this(character)
 {
     AddRange(entries);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="character"></param>
 protected BasePlan(BaseCharacter character)
 {
     m_lookup    = new PlanEntry[StaticSkills.ArrayIndicesCount * 5];
     m_character = character;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="character"></param>
 public PlanScratchpad(BaseCharacter character)
     : base(character)
 {
 }